Skip to content

Commit 482f260

Browse files
cocolatojohnslavik
andauthored
Fix None value check
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
1 parent ba31a40 commit 482f260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/pdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ def do_commands(self, arg):
13161316
"""
13171317
if not arg:
13181318
for bp in reversed(bdb.Breakpoint.bpbynumber):
1319-
if not bp:
1319+
if bp is None:
13201320
continue
13211321
bnum = bp.number
13221322
break

0 commit comments

Comments
 (0)