diff --git a/stubs/louie/saferef.pyi b/stubs/louie/saferef.pyi new file mode 100644 --- /dev/null +++ b/stubs/louie/saferef.pyi @@ -0,0 +1,22 @@ +# Stubs for louie.saferef (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any, Optional + +def safe_ref(target: Any, on_delete: Optional[Any] = ...): ... + +class BoundMethodWeakref: + def __new__(cls, target: Any, on_delete: Optional[Any] = ..., *arguments: Any, **named: Any): ... + deletion_methods: Any = ... + key: Any = ... + weak_self: Any = ... + weak_func: Any = ... + self_name: Any = ... + func_name: Any = ... + def __init__(self, target: Any, on_delete: Optional[Any] = ...) -> None: ... + def calculate_key(cls, target: Any): ... + calculate_key: Any = ... + def __nonzero__(self): ... + def __cmp__(self, other: Any): ... + def __call__(self): ...