Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
Remove type hint
  • Loading branch information
colesbury committed Jan 3, 2026
commit 9d0e6bab8bc8a5c896f9d3a71f7ceb8a4610f09d
2 changes: 1 addition & 1 deletion Tools/gdb/libpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ def print_traceback(self):
lineno,
self.co_name.proxyval(visited)))

def print_traceback_until_shim(self, frame_index: int | None = None):
def print_traceback_until_shim(self, frame_index = None):
Comment thread
colesbury marked this conversation as resolved.
Outdated
# Print traceback for _PyInterpreterFrame and return previous frame
interp_frame = self
while True:
Expand Down
Loading