projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a56c99
)
disable generation of api code for pxd entries
author
Lisandro Dalcin
<dalcinl@gmail.com>
Fri, 1 Apr 2011 00:15:41 +0000
(21:15 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Fri, 1 Apr 2011 00:15:41 +0000
(21:15 -0300)
Cython/Compiler/ModuleNode.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ModuleNode.py
b/Cython/Compiler/ModuleNode.py
index bb4768e44aef592d616e488ed478984229afd24d..425930757e66d333e7b5a4d2cadb5615639f5bc4 100644
(file)
--- a/
Cython/Compiler/ModuleNode.py
+++ b/
Cython/Compiler/ModuleNode.py
@@
-168,7
+168,7
@@
class ModuleNode(Nodes.Node, Nodes.BlockNode):
return env.qualified_name.replace(".", "__")
def generate_api_code(self, env, result):
- def api_entries(entries, pxd=
1
):
+ def api_entries(entries, pxd=
0
):
return [entry for entry in entries
if entry.api or (pxd and entry.defined_in_pxd)]
api_vars = api_entries(env.var_entries)