Cortex
10.0.0-a4
|
A context manager for controlling attribute values in with statements. More...
Public Member Functions | |
def | __init__ (self, attributeAndValues={}, kw) |
def | __enter__ (self) |
def | __exit__ (self, type, value, traceBack) |
A context manager for controlling attribute values in with statements.
It sets attributes to requested values on entering the block and resets them to their previous values on exiting the block.