diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-11-07 12:37:56 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-11-07 12:37:56 +0100 |
commit | efa7a0e155e508f21dd7ace708b311066637538f (patch) | |
tree | 2f6153a87d447a9aabd6a089fa98a1888178d818 /Lib/test/test_htmlparser.py | |
parent | 0b69fbc6420115ce11e7f18249280a2c6d9a87ce (diff) | |
download | cpython-git-efa7a0e155e508f21dd7ace708b311066637538f.tar.gz |
print_error_text() doesn't encode the filename anymore
Use aslo PyUnicode_FromFormat() to format the line so only one call to
PyFile_WriteObject() is needed. tb_displayline() of Python/traceback.c has
similar implementation.
Diffstat (limited to 'Lib/test/test_htmlparser.py')
0 files changed, 0 insertions, 0 deletions