mirror of
https://github.com/python/cpython
synced 2026-09-29 10:15:30 +03:00
Jiwon Seo's PEP 3102 implementation.
See SF#1549670. The compiler package has not yet been updated.
This commit is contained in:
parent
fc2a0a8e3c
commit
4f72a78684
31 changed files with 739 additions and 227 deletions
|
|
@ -12,8 +12,8 @@
|
|||
Module: doc*, node
|
||||
Stmt: nodes!
|
||||
Decorators: nodes!
|
||||
Function: decorators&, name*, argnames*, defaults!, flags*, doc*, code
|
||||
Lambda: argnames*, defaults!, flags*, code
|
||||
Function: decorators&, name*, argnames*, defaults!, kwonlyargs*, flags*, doc*, code
|
||||
Lambda: argnames*, defaults!, kwonlyargs*, flags*, code
|
||||
Class: name*, bases!, doc*, code
|
||||
Pass:
|
||||
Break:
|
||||
|
|
@ -97,6 +97,7 @@ init(Lambda):
|
|||
init(GenExpr):
|
||||
self.argnames = ['.0']
|
||||
self.varargs = self.kwargs = None
|
||||
self.kwonlyargs = ()
|
||||
|
||||
init(GenExprFor):
|
||||
self.is_outmost = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue