Skip to content

Commit f98ee98

Browse files
committed
Fix inverted PYTHON_BASIC_REPL environment check in _pyrepl_available()
1 parent 234c12c commit f98ee98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/pdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def get_default_backend():
376376

377377
def _pyrepl_available():
378378
"""return whether pdb should use _pyrepl for input"""
379-
if not os.getenv("PYTHON_BASIC_REPL"):
379+
if os.getenv("PYTHON_BASIC_REPL"):
380380
CAN_USE_PYREPL = False
381381
else:
382382
try:

0 commit comments

Comments
 (0)