# HG changeset patch # User Paul Boddie # Date 1393183579 -3600 # Node ID 287e94386042bdc3f5da64509f7a70d414784da1 # Parent 07116dc29ea781905d8b5d5ed034814d98ed4444 Added closure PEP references. diff -r 07116dc29ea7 -r 287e94386042 docs/closures.txt --- a/docs/closures.txt Sun Feb 23 20:25:49 2014 +0100 +++ b/docs/closures.txt Sun Feb 23 20:26:19 2014 +0100 @@ -98,3 +98,12 @@ # which is .x # which is x=11 # returning 16 + +References +---------- + +"PEP 227 -- Statically Nested Scopes" +http://www.python.org/dev/peps/pep-0227/ + +"PEP 3104 -- Access to Names in Outer Scopes" +http://www.python.org/dev/peps/pep-3104/