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()
Trees | Indices | Help |
|
---|