From 170b149ce24149da5153fefe103a3c5d13e819da Mon Sep 17 00:00:00 2001 From: manoj Date: Sun, 19 Apr 2026 19:17:40 +0530 Subject: [PATCH 1/2] Fixed Spacing,Typos and Grammar --- Doc/library/cmd.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/cmd.rst b/Doc/library/cmd.rst index c988fcebd68a01..f0319bfe492761 100644 --- a/Doc/library/cmd.rst +++ b/Doc/library/cmd.rst @@ -31,8 +31,8 @@ interface. Note that other values are not treated this way, and might only work with a specific backend. - The optional arguments *stdin* and *stdout* specify the input and output file - objects that the Cmd instance or subclass instance will use for input and + The optional arguments *stdin* and *stdout* specify the input and output file + objects that the Cmd instance or subclass instance will use for input and output. If not specified, they will default to :data:`sys.stdin` and :data:`sys.stdout`. @@ -283,7 +283,7 @@ immediate playback:: 'Return turtle to the home position: HOME' home() def do_circle(self, arg): - 'Draw circle with given radius an options extent and steps: CIRCLE 50' + 'Draw circle with given radius, an optional extent and steps: CIRCLE 50' circle(*parse(arg)) def do_position(self, arg): 'Print the current turtle position: POSITION' From fc08520b78a42f3f3e8435e1e9a2649d92373a26 Mon Sep 17 00:00:00 2001 From: Manoj K M Date: Sun, 19 Apr 2026 19:52:59 +0530 Subject: [PATCH 2/2] Update Doc/library/cmd.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> --- Doc/library/cmd.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/cmd.rst b/Doc/library/cmd.rst index f0319bfe492761..4891d33e38bf54 100644 --- a/Doc/library/cmd.rst +++ b/Doc/library/cmd.rst @@ -283,7 +283,7 @@ immediate playback:: 'Return turtle to the home position: HOME' home() def do_circle(self, arg): - 'Draw circle with given radius, an optional extent and steps: CIRCLE 50' + 'Draw circle with given radius and optional extent and steps: CIRCLE 50' circle(*parse(arg)) def do_position(self, arg): 'Print the current turtle position: POSITION'