summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-11-07 12:37:56 +0100
committerVictor Stinner <victor.stinner@gmail.com>2013-11-07 12:37:56 +0100
commitf8a141c2766dbd2eadcb245e207f4242295710c8 (patch)
treed4e66b2d5bdd97d3e7fc747bef91bf2ee531d63f /Python/errors.c
parent1e49257de26f36190fa4ae251029120192d6725c (diff)
downloadcpython-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