Better name for PEP 403 that also covers the alternative idea discussed near the end
This commit is contained in:
parent
59dc0a6f75
commit
093018129f
10
pep-0403.txt
10
pep-0403.txt
|
@ -1,5 +1,5 @@
|
|||
PEP: 403
|
||||
Title: Forward references to anonymous functions and classes
|
||||
Title: Statement local functions and classes
|
||||
Version: $Revision$
|
||||
Last-Modified: $Date$
|
||||
Author: Nick Coghlan <ncoghlan@gmail.com>
|
||||
|
@ -15,9 +15,11 @@ Resolution: TBD
|
|||
Abstract
|
||||
========
|
||||
|
||||
This PEP proposes the addition of a new ``in`` statement that allows the use
|
||||
of the Ellipsis literal (``...``) to make a forward reference to a trailing
|
||||
anonymous function definition.
|
||||
This PEP proposes the addition of a new ``in`` statement that accepts a
|
||||
statement local function or class definition.
|
||||
|
||||
The statement allows the use of the Ellipsis literal (``...``) to make a
|
||||
forward reference to a trailing anonymous function definition.
|
||||
|
||||
This new statement is designed to be used whenever a "one-shot" function is
|
||||
needed, and the meaning of the function is conveyed clearly by the context
|
||||
|
|
Loading…
Reference in New Issue