diff options
author | Daniel Hahler <git@thequod.de> | 2020-02-24 03:14:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 03:14:53 (GMT) |
commit | 4015d1cda3cdba869103779eb6ff32ad798ff885 (patch) | |
tree | bf914b00c16fd8dfefc02d6cef8ffbb1392c7c3b /Lib/bdb.py | |
parent | aea045adb8c90394264908670cbc495c5a41b65e (diff) | |
download | cpython-4015d1cda3cdba869103779eb6ff32ad798ff885.zip cpython-4015d1cda3cdba869103779eb6ff32ad798ff885.tar.gz cpython-4015d1cda3cdba869103779eb6ff32ad798ff885.tar.bz2 |
bpo-39649: Remove obsolete check for `__args__` in bdb.Bdb.format_stack_entry (GH-18531)
Appears to be obsolete since 75bb54c3d8.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/bdb.py')
-rw-r--r-- | Lib/bdb.py | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -548,14 +548,7 @@ class Bdb: s += frame.f_code.co_name else: s += "<lambda>" - if '__args__' in frame.f_locals: - args = frame.f_locals['__args__'] - else: - args = None - if args: - s += reprlib.repr(args) - else: - s += '()' + s += '()' if '__return__' in frame.f_locals: rv = frame.f_locals['__return__'] s += '->' |