summaryrefslogtreecommitdiff
path: root/Doc/library/cmd.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/cmd.rst')
-rw-r--r--Doc/library/cmd.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/cmd.rst b/Doc/library/cmd.rst
index 0c43bb84a3..97229280c3 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):