Allow 'any' expression on decorators, PEP 614

This commit is contained in:
Batuhan Taskaya authored and Dave Halter committed 2020-05-22 10:17:17 +02:00
1 parent f8709852e3
commit 345374d040
3 files changed
+16 -1

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE
file_input: stmt* ENDMARKER
eval_input: testlist NEWLINE* ENDMARKER
decorator: '@' dotted_name [ '(' [arglist] ')' ] NEWLINE
decorator: '@' namedexpr_test NEWLINE
decorators: decorator+
decorated: decorators (classdef | funcdef | async_funcdef)