summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorStefan Behnel <scoder@users.berlios.de>2008-07-05 21:40:53 +0200
committerStefan Behnel <scoder@users.berlios.de>2008-07-05 21:40:53 +0200
commita77c750e5a9089433d456f4bcd3c4c5403544156 (patch)
tree40c64890c6a2d74faf48d960c30264da4bb47800 /Doc
parent54db2a8551c8be09be88a55f836cae83958e35fb (diff)
downloadcython-a77c750e5a9089433d456f4bcd3c4c5403544156.tar.gz
ep2008: clarification on closures
Diffstat (limited to 'Doc')
-rw-r--r--Doc/s5/cython-ep2008.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/Doc/s5/cython-ep2008.txt b/Doc/s5/cython-ep2008.txt
index cebf24924..a29ca35d6 100644
--- a/Doc/s5/cython-ep2008.txt
+++ b/Doc/s5/cython-ep2008.txt
@@ -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