Commit 7d61c778 authored by Stefan Behnel's avatar Stefan Behnel

improve description of 'binding' directive a little

parent f4c5c661
......@@ -368,9 +368,12 @@ Cython code. Here is the list of currently supported directives:
``binding`` (True / False)
Controls whether free functions behave more like Python's CFunctions
(e.g. :func:`len`) or, when set to True, more like Python's functions
(which, among other things, bind to an instance when looked up as a
class attribute).
(e.g. :func:`len`) or, when set to True, more like Python's functions.
When enabled, functions will bind to an instance when looked up as a
class attribute (hence the name) and will emulate the attributes
of Python functions, including introspections like argument names and
annotations.
Default is False.
``boundscheck`` (True / False)
If set to False, Cython is free to assume that indexing operations
......
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