[Python-checkins] r42530 - peps/trunk/pep-0343.txt
neal.norwitz
python-checkins at python.org
Mon Feb 20 23:24:45 CET 2006
Author: neal.norwitz
Date: Mon Feb 20 23:24:44 2006
New Revision: 42530
Modified:
peps/trunk/pep-0343.txt
Log:
Fix a few small issues. opening() is introduced later.
Modified: peps/trunk/pep-0343.txt
==============================================================================
--- peps/trunk/pep-0343.txt (original)
+++ peps/trunk/pep-0343.txt Mon Feb 20 23:24:44 2006
@@ -98,7 +98,7 @@
Now consider this example:
- with f = opening("/etc/passwd"):
+ with f = open("/etc/passwd"):
BLOCK1
BLOCK2
@@ -781,7 +781,7 @@
indentation:
class nested(object):
- def __init__(*contexts):
+ def __init__(self, *contexts):
self.contexts = contexts
self.entered = None
More information about the Python-checkins
mailing list