Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
7d61c778
Commit
7d61c778
authored
Aug 10, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve description of 'binding' directive a little
parent
f4c5c661
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
docs/src/reference/compilation.rst
docs/src/reference/compilation.rst
+6
-3
No files found.
docs/src/reference/compilation.rst
View file @
7d61c778
...
@@ -368,9 +368,12 @@ Cython code. Here is the list of currently supported directives:
...
@@ -368,9 +368,12 @@ Cython code. Here is the list of currently supported directives:
``binding`` (True / False)
``binding`` (True / False)
Controls whether free functions behave more like Python's CFunctions
Controls whether free functions behave more like Python's CFunctions
(e.g. :func:`len`) or, when set to True, more like Python's functions
(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
When enabled, functions will bind to an instance when looked up as a
class attribute).
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)
``boundscheck`` (True / False)
If set to False, Cython is free to assume that indexing operations
If set to False, Cython is free to assume that indexing operations
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment