ep2008: clarification on closures
authorStefan Behnel <scoder@users.berlios.de>
Sat, 5 Jul 2008 19:40:53 +0000 (21:40 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Sat, 5 Jul 2008 19:40:53 +0000 (21:40 +0200)
Doc/s5/cython-ep2008.txt

index cebf24924e99b5d7219bbd12efc7804e6fab82d7..a29ca35d65c567b26cf52ad3c01e4a8a3a776d64 100644 (file)
@@ -214,9 +214,7 @@ Python 2 feature support
 
   * ``with`` statement
 
-  * closures
-
-  * support for local classes and functions is close!
+  * closures (i.e. local classes and functions) are close!
 
 
 Speed
@@ -311,19 +309,19 @@ Calling C functions
        return PyUnicode_DecodeASCII(s, size, NULL)
 
 
-Cutting-edge features
-=====================
+Features in work
+================
 
 * Dynamic classes and functions with closures
 
   .. sourcecode:: python
 
-    def myfunction(a,b):
+    def factory(a,b):
         def closure_function(c):
             return a+b+c
         return closure_function
 
-* Native support for new ``buffer`` protocol this summer
+* Native support for new ``buffer`` protocol
 
   * part of NumPy integration by Dag Seljebotn