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

Skip to content

Commit 921d124

Browse files
committed
Show the proper way to exit a cmd shell
1 parent 282083d commit 921d124

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/cmd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ immediate playback::
276276
print('Thank you for using Turtle')
277277
self.close()
278278
bye()
279-
sys.exit(0)
279+
return True
280280

281281
# ----- record and playback -----
282282
def do_record(self, arg):

0 commit comments

Comments
 (0)