[Python-checkins] python/dist/src/Lib doctest.py,1.63,1.64
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Fri Aug 13 03:53:02 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21521/Lib
Modified Files:
doctest.py
Log Message:
Nit in _IS_BLANK_OR_COMMENT comment -- it doesn't matter how this is
implemented, just what it does.
Index: doctest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/doctest.py,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** doctest.py 12 Aug 2004 02:43:49 -0000 1.63
--- doctest.py 13 Aug 2004 01:52:59 -0000 1.64
***************
*** 498,503 ****
''', re.MULTILINE | re.VERBOSE)
! # This regular expression matcher checks if a given string is a
! # blank line or contains a single comment.
_IS_BLANK_OR_COMMENT = re.compile(r'^[ ]*(#.*)?$').match
--- 498,503 ----
''', re.MULTILINE | re.VERBOSE)
! # A callable returning a true value iff its argument is a blank line
! # or contains a single comment.
_IS_BLANK_OR_COMMENT = re.compile(r'^[ ]*(#.*)?$').match
More information about the Python-checkins
mailing list