Package nltk :: Module internals :: Class Deprecated
[hide private]
[frames] | no frames]

type Deprecated

source code

object --+
         |
        Deprecated

A base class used to mark deprecated classes. A typical usage is to alert users that the name of a class has changed:

>>> class OldClassName(Deprecated, NewClassName):
...     "Use NewClassName instead."

The docstring of the deprecated class will be used in the deprecation warning message.

Static Methods [hide private]
 
__new__(cls, *args, **kwargs) source code
Method Details [hide private]

__new__(cls, *args, **kwargs)
Static Method

source code 
Overrides: object.__new__
(inherited documentation)