Skip to content

Commit 5a074aa

Browse files
authored
Doc: Fix a typo in "Function Examples" in the control-flow tutorial (#125338)
1 parent 979c0df commit 5a074aa

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)