diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2013-11-07 11:37:56 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2013-11-07 11:37:56 (GMT) |
| commit | efa7a0e155e508f21dd7ace708b311066637538f (patch) | |
| tree | 2f6153a87d447a9aabd6a089fa98a1888178d818 /Python/_warnings.c | |
| parent | 0b69fbc6420115ce11e7f18249280a2c6d9a87ce (diff) | |
| download | cpython-efa7a0e155e508f21dd7ace708b311066637538f.zip cpython-efa7a0e155e508f21dd7ace708b311066637538f.tar.gz cpython-efa7a0e155e508f21dd7ace708b311066637538f.tar.bz2 | |
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/_warnings.c')
0 files changed, 0 insertions, 0 deletions
