t.p.d._DeprecatedAttribute(object) : class documentation

Part of twisted.python.deprecate View Source View In Hierarchy

Wrapper for deprecated attributes.

This is intended to be used by _ModuleProxy. Calling _DeprecatedAttribute.get will issue a warning and retrieve the underlying attribute's value.
Instance VariablesmoduleThe original module instance containing this attribute (type: module )
fqpnFully qualified Python name for the deprecated attribute (type: str )
versionVersion that the attribute was deprecated in (type: twisted.python.versions.Version )
messageDeprecation message (type: str )
Method __init__ Initialise a deprecated name wrapper.
Method get Get the underlying attribute value and issue a deprecation warning.
def __init__(self, module, name, version, message): (source)
Initialise a deprecated name wrapper.
def get(self): (source)
Get the underlying attribute value and issue a deprecation warning.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.