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
Boxiang Sun
cython
Commits
3d47a980
Commit
3d47a980
authored
Mar 28, 2016
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor code cleanup
parent
b3429679
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Cython/Compiler/UtilityCode.py
Cython/Compiler/UtilityCode.py
+3
-3
No files found.
Cython/Compiler/UtilityCode.py
View file @
3d47a980
...
...
@@ -195,13 +195,12 @@ class CythonUtilityCode(Code.UtilityCodeBase):
entries
.
pop
(
'__builtins__'
)
entries
.
pop
(
'__doc__'
)
for
name
,
entry
in
entries
.
item
s
():
for
entry
in
entries
.
value
s
():
entry
.
utility_code_definition
=
self
entry
.
used
=
used
original_scope
=
tree
.
scope
dest_scope
.
merge_in
(
original_scope
,
merge_unused
=
True
,
whitelist
=
whitelist
)
dest_scope
.
merge_in
(
original_scope
,
merge_unused
=
True
,
whitelist
=
whitelist
)
tree
.
scope
=
dest_scope
for
dep
in
self
.
requires
:
...
...
@@ -210,6 +209,7 @@ class CythonUtilityCode(Code.UtilityCodeBase):
return
original_scope
def
declare_declarations_in_scope
(
declaration_string
,
env
,
private_type
=
True
,
*
args
,
**
kwargs
):
"""
...
...
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