diff options
author | Rafael Fontenelle <rffontenelle@users.noreply.github.com> | 2024-10-12 00:40:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-12 00:40:33 (GMT) |
commit | 5a074aab845f82f4a150c27b905dae05c337d381 (patch) | |
tree | c5a6e4e9a9ce2bc5ece7c664d577f7cf3ee87c68 /Doc | |
parent | 979c0df7c0adfb744159a5fc184043dc733d8534 (diff) | |
download | cpython-5a074aab845f82f4a150c27b905dae05c337d381.zip cpython-5a074aab845f82f4a150c27b905dae05c337d381.tar.gz cpython-5a074aab845f82f4a150c27b905dae05c337d381.tar.bz2 |
Doc: Fix a typo in "Function Examples" in the control-flow tutorial (#125338)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/tutorial/controlflow.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index fd765e5..9b73ac4 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) |