Mercurial > code > home > repos > light9
view stubs/twisted/python/deprecate.pyi @ 2299:8c82f13a3298
rm or repair dead code (notes could come back)
author | drewp@bigasterisk.com |
---|---|
date | Tue, 30 May 2023 23:50:42 -0700 |
parents | 0f0ff27e55a3 |
children |
line wrap: on
line source
# Stubs for twisted.python.deprecate (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any, Optional def getDeprecationWarningString(callableThing: Any, version: Any, format: Optional[Any] = ..., replacement: Optional[Any] = ...): ... def deprecated(version: Any, replacement: Optional[Any] = ...): ... def deprecatedProperty(version: Any, replacement: Optional[Any] = ...): ... def getWarningMethod(): ... def setWarningMethod(newMethod: Any) -> None: ... class _InternalState: def __init__(self, proxy: Any) -> None: ... def __getattribute__(self, name: Any): ... def __setattr__(self, name: Any, value: Any): ... class _ModuleProxy: def __init__(self, module: Any) -> None: ... def __setattr__(self, name: Any, value: Any) -> None: ... def __getattribute__(self, name: Any): ... class _DeprecatedAttribute: module: Any = ... __name__: Any = ... fqpn: Any = ... version: Any = ... message: Any = ... def __init__(self, module: Any, name: Any, version: Any, message: Any) -> None: ... def get(self): ... def deprecatedModuleAttribute(version: Any, message: Any, moduleName: Any, name: Any) -> None: ...