Trees | Indices | Help |
|
---|
|
object --+ | closing
Context to automatically close something at the end of a block. Code like this: with closing(<module>.open(<arguments>)) as f: <block> is equivalent to this: f = <module>.open(<arguments>) try: <block> finally: f.close()
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Tue Jan 29 22:42:44 2008 | http://epydoc.sourceforge.net |