twisted.python.deprecate.deprecatedModuleAttribute(version, message, moduleName, name) function documentationtwisted.python.deprecate
View Source
Declare a module-level attribute as being deprecated.
| Parameters | version | Version that the attribute was deprecated in (type: incremental.Version) |
| message | Deprecation message (type: str) | |
| moduleName | Fully-qualified Python name of the module containing the deprecated
attribute; if called from the same module as the attributes are being
deprecated in, using the __name__ global can be helpful (type: str) | |
| name | Attribute name to deprecate (type: str) |