Commit f6cef1f3 authored by Stefan Behnel's avatar Stefan Behnel

Fix left-over Pyrex reference.

parent d4ce52c0
...@@ -55,7 +55,7 @@ efficiently callable as a C function, but still accessible from pure Python ...@@ -55,7 +55,7 @@ efficiently callable as a C function, but still accessible from pure Python
If within Cython code, we have a variable already 'early-bound' (ie, declared If within Cython code, we have a variable already 'early-bound' (ie, declared
explicitly as type Rectangle, (or cast to type Rectangle), then invoking its explicitly as type Rectangle, (or cast to type Rectangle), then invoking its
area method will use the efficient C code path and skip the Python overhead. area method will use the efficient C code path and skip the Python overhead.
But if in Pyrex or regular Python code we have a regular object variable But if in Cython or regular Python code we have a regular object variable
storing a Rectangle object, then invoking the area method will require: storing a Rectangle object, then invoking the area method will require:
* an attribute lookup for the area method * an attribute lookup for the area method
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment