Edward Welbourne added the comment:
Nice :-)
--
___
Python tracker
<http://bugs.python.org/issue7926>
___
___
Python-bugs-list mailing list
Unsubscribe:
Edward Welbourne added the comment:
The third change removes the early uses of "object" from:
Finally, the closing(object)() function returns object so that it can
be bound to a variable, and calls object.close at the end of the block.
leaving the last use (object.close) as
New submission from Edward Welbourne :
http://docs.python.org/library/string.html#formatstrings
field_name::= (identifier | integer) ("." attribute_name | "["
element_index "]")*
element_index ::= integer
Subsequent text indicates __getitem__() is
New submission from Edward Welbourne :
http://docs.python.org/whatsnew/2.6.html#writing-context-managers
penultimate item in "A high-level explanation":
If BLOCK raises an exception, the __exit__(type, value, traceback)() is called
has extra () after the argument list - this appe