]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Allow comment characters (#) to be escaped:
authorGreg Ward <gward@python.net>
Tue, 10 Aug 1999 20:09:38 +0000 (20:09 +0000)
committerGreg Ward <gward@python.net>
Tue, 10 Aug 1999 20:09:38 +0000 (20:09 +0000)
commitabc2f960d4f38832436db1449bc64803380d55bf
tree7709800405bd53fbad78c611cff24e639c3c2987
parent916fcc3b1833119c24e6cbd2e3ccefee2f72bf6c
Allow comment characters (#) to be escaped:
  - did away with 'comment_re' option -- it's just not that simple anymore
  - heavily revised the main logic in 'readline()' to accomodate this
Beefed up 'warn()': 'line' can be list or tuple, and 'msg' is
  automatically converted to a string.
Lib/distutils/text_file.py