• Greg Ward's avatar
    Allow comment characters (#) to be escaped: · abc2f960
    Greg Ward yazdı
      - 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.
    abc2f960
text_file.py 8.86 KB