[Python-Dev] Terminology for PEP 343

Mark Russell mark.russell at redmoon.me.uk
Fri Jul 1 16:54:06 CEST 2005


On Thu, 2005-06-30 at 22:41, Raymond Hettinger wrote:
> With 343 accepted, we can now add __enter__() and __exit__() methods to
> objects.
> 
> What term should describe those objects in the documentation?  

Their raison d'etre is to bracket user code with setup and teardown
methods, so how about the term "bracketing object"?

Mark Russell





More information about the Python-Dev mailing list