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 | f8a141c2766dbd2eadcb245e207f4242295710c8 (patch) | |
tree | d4e66b2d5bdd97d3e7fc747bef91bf2ee531d63f /Python/errors.c | |
parent | 1e49257de26f36190fa4ae251029120192d6725c (diff) | |
download | cpython-f8a141c2766dbd2eadcb245e207f4242295710c8.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 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions