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
ac4f248b
Commit
ac4f248b
authored
Jul 17, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use absolute import for numpy in fused types code
parent
bc61d5e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Cython/Compiler/FusedNode.py
Cython/Compiler/FusedNode.py
+4
-0
No files found.
Cython/Compiler/FusedNode.py
View file @
ac4f248b
...
...
@@ -559,6 +559,10 @@ class FusedCFuncDefNode(StatListNode):
"""
)
decl_code
.
indent
()
pyx_code
.
put_chunk
(
u"""
from __future__ import absolute_import # for later numpy import
"""
)
pyx_code
.
put_chunk
(
u"""
def __pyx_fused_cpdef(signatures, args, kwargs, defaults):
...
...
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