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
Prev Previous commit
Next Next commit
Use sys.exit() instead of os._exit()
  • Loading branch information
gaogaotiantian committed Oct 15, 2024
commit b0968bd75964a311085ea95ae8e4f5637d603d33
2 changes: 1 addition & 1 deletion Lib/pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1732,7 +1732,7 @@ def do_quit(self, arg):
reply = 'y'
self.message('')
if reply == 'y' or reply == '':
os._exit(0)
sys.exit(0)
elif reply.lower() == 'n':
return

Expand Down