Skip to content

Commit a314026

Browse files
[3.13] Doc: Fix a typo in "Function Examples" in the control-flow tutorial (GH-125338) (#125341)
Doc: Fix a typo in "Function Examples" in the control-flow tutorial (GH-125338) (cherry picked from commit 5a074aa) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
1 parent 21764ec commit a314026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/controlflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ parameters as there is a ``/`` in the function definition::
832832
File "<stdin>", line 1, in <module>
833833
TypeError: pos_only_arg() got some positional-only arguments passed as keyword arguments: 'arg'
834834

835-
The third function ``kwd_only_args`` only allows keyword arguments as indicated
835+
The third function ``kwd_only_arg`` only allows keyword arguments as indicated
836836
by a ``*`` in the function definition::
837837

838838
>>> kwd_only_arg(3)

0 commit comments

Comments
 (0)