diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2016-08-27 13:06:41 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2016-08-27 13:06:41 +0200 |
commit | 1b401b3048853a20856cd46ee3629a8110d41239 (patch) | |
tree | 2ae2cdcbddd4f78b78aaf82462a71d9699c1d15f /Cython/Compiler/ModuleNode.py | |
parent | a04806bd6c78cc4a1e583bca0a105f7811614318 (diff) | |
download | cython-1b401b3048853a20856cd46ee3629a8110d41239.tar.gz |
re-enable PyMethodDef declarations of Python methods in cdef classes as we cannot currently generate CyFunctions for cpdef methods
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r-- | Cython/Compiler/ModuleNode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index b69f84a9e..cb2ab97b3 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -1973,7 +1973,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): "};") def generate_method_table(self, env, code): - if env.is_c_class_scope and (not env.pyfunc_entries or env.directives['binding']): + if env.is_c_class_scope and not env.pyfunc_entries: return code.putln("") code.putln( |