Nit in _IS_BLANK_OR_COMMENT comment -- it doesn't matter how this is

implemented, just what it does.
This commit is contained in:
Tim Peters 2004-08-13 01:52:59 +00:00
parent 2603960525
commit 7ea48ddd4f

View file

@ -497,8 +497,8 @@ class DocTestParser:
)*)
''', re.MULTILINE | re.VERBOSE)
# This regular expression matcher checks if a given string is a
# blank line or contains a single comment.
# 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
def get_doctest(self, string, globs, name, filename, lineno):