##// END OF EJS Templates
cext: fix potential memory leaks of list items appended with PyList_Append...
cext: fix potential memory leaks of list items appended with PyList_Append Also reduce the duplication in the tricky code that uses PyList_Append by extracting it into a function `pylist_append_owned`.

File last commit:

r50538:e1c586b9 default
r52281:cb5175ed stable
Show More
filters.pyi
6 lines | 215 B | text/x-python | PythonLexer
from typing import Any, Union
from . import Attribute, _FilterType
def include(*what: Union[type, Attribute[Any]]) -> _FilterType[Any]: ...
def exclude(*what: Union[type, Attribute[Any]]) -> _FilterType[Any]: ...