Trees | Indices | Help |
|
---|
|
object --+ | DecoratorAndContextManager
An abstract base class for context managers that can also be used to decorate functions and classes. When a function is decorated, it is equivalent to always running it inside the context manager. When a class is decorated, it is equivalent to decorating every method of the class.
This is tested in mmerr_test.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Exit context manager: must be defined in subclasses. Exception handling arguments are required by context manager signature. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Aug 6 04:50:45 2015 | http://epydoc.sourceforge.net |