mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Fix:
[ 1207501 ] Issue in grammar We didn't define dotted_name in the pseudo-grammar in the reference docs. Backport candidate.
This commit is contained in:
parent
b141cd03a1
commit
2f475a7bc8
1 changed files with 2 additions and 0 deletions
|
|
@ -323,6 +323,8 @@ section~\ref{types}):
|
|||
{\token{decorator}+}
|
||||
\production{decorator}
|
||||
{"@" \token{dotted_name} ["(" [\token{argument_list} [","]] ")"] NEWLINE}
|
||||
\production{dotted_name}
|
||||
{\token{identifier} ("." \token{identifier})*}
|
||||
\production{parameter_list}
|
||||
{(\token{defparameter} ",")*}
|
||||
\productioncont{(~~"*" \token{identifier} [, "**" \token{identifier}]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue