https://github.com/python/cpython/commit/5a074aab845f82f4a150c27b905dae05c337d381
commit: 5a074aab845f82f4a150c27b905dae05c337d381
branch: main
author: Rafael Fontenelle <[email protected]>
committer: AA-Turner <[email protected]>
date: 2024-10-12T01:40:33+01:00
summary:

Doc: Fix a typo in "Function Examples" in the control-flow tutorial (#125338)

files:
M Doc/tutorial/controlflow.rst

diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index fd765e58ff2485..9b73ac475c78d5 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -832,7 +832,7 @@ parameters as there is a ``/`` in the function definition::
      File "<stdin>", line 1, in <module>
    TypeError: pos_only_arg() got some positional-only arguments passed as 
keyword arguments: 'arg'
 
-The third function ``kwd_only_args`` only allows keyword arguments as indicated
+The third function ``kwd_only_arg`` only allows keyword arguments as indicated
 by a ``*`` in the function definition::
 
    >>> kwd_only_arg(3)

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to