Package cssutils :: Module util :: Class Deprecated
[hide private]
[frames] | no frames]

Class Deprecated

source code

object --+
         |
        Deprecated

This is a decorator which can be used to mark functions as deprecated. It will result in a warning being emitted when the function is used.

It accepts a single paramter msg which is shown with the warning. It should contain information which function or method to use instead.

Instance Methods [hide private]
 
__init__(self, msg)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__call__(self, func) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, msg)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)