Timeline for Python - Common Improvements
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 18, 2012 at 19:59 | comment | added | kojiro | I would apply this to more than just file handles. I use the with statement for StringIO and handling network connections as well. Anything that can be closed, and many things that can't are fair game. contextlib.closing for the win! | |
| Apr 25, 2012 at 17:25 | history | edited | tshepang | CC BY-SA 3.0 |
include an equivalent
|
| Mar 28, 2012 at 13:25 | history | edited | tshepang | CC BY-SA 3.0 |
add a heading and a link
|
| Mar 26, 2012 at 11:40 | history | answered | tshepang | CC BY-SA 3.0 |