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

Class Deprecated

source code

object --+
         |
        Deprecated
Known Subclasses:

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.

Instance Methods [hide private]

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, *args, **kwargs)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)