[Python-checkins] python/nondist/peps pep-0343.txt,1.9,1.10

gvanrossum@users.sourceforge.net gvanrossum at users.sourceforge.net
Mon May 16 02:36:03 CEST 2005


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9870
Modified Files:
	pep-0343.txt 
Log Message:
Move the __enter__ call out of the try suite. I was nuts putting it
inside.
Index: pep-0343.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0343.txt,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- pep-0343.txt	15 May 2005 00:45:42 -0000	1.9
+++ pep-0343.txt	16 May 2005 00:36:01 -0000	1.10
@@ -160,8 +160,8 @@
 abc = EXPR
 exc = (None, None, None)
 try:
+ VAR = abc.__enter__()
 try:
- VAR = abc.__enter__()
 BLOCK
 except:
 exc = sys.exc_info()


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /