[Python-checkins] python/dist/src/Lib sre_parse.py,1.62,1.63

niemeyer at users.sourceforge.net niemeyer at users.sourceforge.net
Fri Sep 3 22:15:58 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25084/Lib

Modified Files:
	sre_parse.py 
Log Message:
Minor aesthetic change in sre_parse.py, as suggested by Mike Coleman.


Index: sre_parse.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/sre_parse.py,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- sre_parse.py	3 Sep 2004 17:06:09 -0000	1.62
+++ sre_parse.py	3 Sep 2004 20:15:56 -0000	1.63
@@ -738,8 +738,8 @@
                 isoctal = False
                 if s.next in DIGITS:
                     this = this + sget()
-                    if (c in OCTDIGITS and s.next in OCTDIGITS and
-                        this[2] in OCTDIGITS):
+                    if (c in OCTDIGITS and this[2] in OCTDIGITS and
+                        s.next in OCTDIGITS):
                         this = this + sget()
                         isoctal = True
                         literal(makechar(int(this[1:], 8) & 0xff))



More information about the Python-checkins mailing list