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

This commit is contained in:
Rafael Fontenelle 2024-10-11 21:40:33 -03:00 committed by GitHub
parent 979c0df7c0
commit 5a074aab84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)