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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
cython
Commits
d38afdba
Commit
d38afdba
authored
Jul 11, 2011
by
Dag Sverre Seljebotn
Committed by
Mark Florisson
Sep 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup for memoryview implementation
parent
6321b391
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+3
-6
No files found.
Cython/Compiler/Nodes.py
View file @
d38afdba
...
...
@@ -2273,17 +2273,14 @@ class DefNode(FuncDefNode):
entry
=
env
.
declare_pyfunction
(
name
,
self
.
pos
,
allow_redefine
=
not
self
.
is_wrapper
)
self
.
entry
=
entry
prefix
=
env
.
next_id
(
env
.
scope_prefix
)
entry
.
func_cname
=
\
env
.
mangle
(
Naming
.
pyfunc_prefix
,
name
)
# Naming.pyfunc_prefix + prefix + name
env
.
mangle
(
Naming
.
pyfunc_prefix
,
prefix
+
name
)
entry
.
pymethdef_cname
=
\
env
.
mangle
(
Naming
.
pymethdef_prefix
,
name
)
# Naming.pymethdef_prefix + prefix + name
env
.
mangle
(
Naming
.
pymethdef_prefix
,
prefix
+
name
)
if
Options
.
docstrings
:
entry
.
doc
=
embed_position
(
self
.
pos
,
self
.
doc
)
entry
.
doc_cname
=
\
env
.
mangle
(
Naming
.
funcdoc_prefix
,
name
)
env
.
mangle
(
Naming
.
funcdoc_prefix
,
prefix
+
name
)
if
entry
.
is_special
:
if
entry
.
name
in
TypeSlots
.
invisible
or
not
entry
.
doc
or
(
entry
.
name
in
'__getattr__'
and
env
.
directives
[
'fast_getattr'
]):
entry
.
wrapperbase_cname
=
None
...
...
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