diff options
author | Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com> | 2024-05-09 12:09:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-09 12:09:44 (GMT) |
commit | 7c87ce777b3fd9055b118a58ec8614901ecb45e9 (patch) | |
tree | 286882440da501f05fe51de328f3c1c50f90a2f5 /Python/import.c | |
parent | da090f1658e72485b201507653f6d673f3e39c86 (diff) | |
download | cpython-7c87ce777b3fd9055b118a58ec8614901ecb45e9.zip cpython-7c87ce777b3fd9055b118a58ec8614901ecb45e9.tar.gz cpython-7c87ce777b3fd9055b118a58ec8614901ecb45e9.tar.bz2 |
gh-103956: Fix `trace` output in case of missing source line (GH-103958)
Print only filename with lineno if linecache.getline() returns an empty string.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions