Commit 45b67151 authored by Robert Bradshaw's avatar Robert Bradshaw Committed by GitHub

Merge pull request #1618 from fabianrost84/patch-2

Correct mistake in doc `early_binding_for_speed.rst`
parents 9e46a239 a9dc1780
...@@ -73,7 +73,7 @@ Python-callable :meth:`area` method which serves as a thin wrapper around ...@@ -73,7 +73,7 @@ Python-callable :meth:`area` method which serves as a thin wrapper around
by declaring the local variable ``rect`` which is explicitly given the type by declaring the local variable ``rect`` which is explicitly given the type
Rectangle. By using this declaration, instead of just dynamically assigning to Rectangle. By using this declaration, instead of just dynamically assigning to
``rect``, we gain the ability to access the much more efficient C-callable ``rect``, we gain the ability to access the much more efficient C-callable
:meth:`_rect` method. :meth:`_area` method.
But Cython offers us more simplicity again, by allowing us to declare But Cython offers us more simplicity again, by allowing us to declare
dual-access methods - methods that can be efficiently called at C level, but dual-access methods - methods that can be efficiently called at C level, but
......
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