Part of twisted.python.deprecate View Source View In Hierarchy
Access to deprecated attributes first checks
_deprecatedAttributes
, if the attribute does not appear there
then access falls through to _module
, the wrapped module
object.
Instance Variables | _module | Module on which to hook attribute access.
(type: module
) |
_deprecatedAttributes | Mapping of attribute names to objects that retrieve the module attribute's
original value.
(type: dict mapping str to _DeprecatedAttribute
) |
Method | __init__ | Undocumented |
Method | __repr__ | Get a string containing the type of the module proxy and a |
Method | __setattr__ | Set an attribute on the wrapped module object. |
Method | __getattribute__ | Get an attribute on the wrapped module object. |
If the specified name has been deprecated then a warning is issued.