gh-140790: pdb: Initialize instance variables in Pdb.__init__ (#140791) · python/cpython@4885ecf · GitHub
Skip to content

Commit 4885ecf

Browse files
authored
gh-140790: pdb: Initialize instance variables in Pdb.__init__ (#140791)
Initialize lineno, stack, curindex, curframe, currentbp, and _user_requested_quit attributes in `Pdb.__init__``.
1 parent a486d45 commit 4885ecf

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

Lib/pdb.py

Lines changed: 8 additions & 2 deletions
Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)