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

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Allow leading whitespace in disambiguated pdb statements
  • Loading branch information
SnoopJ committed May 9, 2023
commit c889443808507937d1a41fdfef90374ce9e285b7
2 changes: 1 addition & 1 deletion Lib/pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def displayhook(self, obj):
self.message(repr(obj))

def default(self, line):
if line[:1] == '!': line = line[1:]
if line[:1] == '!': line = line[1:].lstrip()
Comment thread
SnoopJ marked this conversation as resolved.
Outdated
locals = self.curframe_locals
globals = self.curframe.f_globals
try:
Expand Down