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

Skip to content

Commit b0968bd

Browse files
Use sys.exit() instead of os._exit()
1 parent 5747b27 commit b0968bd

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
@@ -1732,7 +1732,7 @@ def do_quit(self, arg):
17321732
reply = 'y'
17331733
self.message('')
17341734
if reply == 'y' or reply == '':
1735-
os._exit(0)
1735+
sys.exit(0)
17361736
elif reply.lower() == 'n':
17371737
return
17381738

0 commit comments

Comments
 (0)