Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 33d1ae8

Browse files
committed
Remove stray question mark.
1 parent 60ebb8b commit 33d1ae8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/reference/compound_stmts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ A function definition defines a user-defined function object (see section
410410
:ref:`types`):
411411

412412
.. productionlist::
413-
funcdef: [`decorators`] "def" `funcname` "(" [`parameter_list`] ")" ["->" `expression`]? ":" `suite`
413+
funcdef: [`decorators`] "def" `funcname` "(" [`parameter_list`] ")" ["->" `expression`] ":" `suite`
414414
decorators: `decorator`+
415415
decorator: "@" `dotted_name` ["(" [`argument_list` [","]] ")"] NEWLINE
416416
dotted_name: `identifier` ("." `identifier`)*

0 commit comments

Comments
 (0)