diff --git a/Doc/library/cmd.rst b/Doc/library/cmd.rst index fd7f4537c62..943c04a8401 100644 --- a/Doc/library/cmd.rst +++ b/Doc/library/cmd.rst @@ -276,7 +276,7 @@ immediate playback:: print('Thank you for using Turtle') self.close() bye() - sys.exit(0) + return True # ----- record and playback ----- def do_record(self, arg):