mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Remove stray question mark.
This commit is contained in:
parent
60ebb8b0aa
commit
33d1ae8563
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ A function definition defines a user-defined function object (see section
|
||||||
:ref:`types`):
|
:ref:`types`):
|
||||||
|
|
||||||
.. productionlist::
|
.. productionlist::
|
||||||
funcdef: [`decorators`] "def" `funcname` "(" [`parameter_list`] ")" ["->" `expression`]? ":" `suite`
|
funcdef: [`decorators`] "def" `funcname` "(" [`parameter_list`] ")" ["->" `expression`] ":" `suite`
|
||||||
decorators: `decorator`+
|
decorators: `decorator`+
|
||||||
decorator: "@" `dotted_name` ["(" [`argument_list` [","]] ")"] NEWLINE
|
decorator: "@" `dotted_name` ["(" [`argument_list` [","]] ")"] NEWLINE
|
||||||
dotted_name: `identifier` ("." `identifier`)*
|
dotted_name: `identifier` ("." `identifier`)*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue