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
1d39c2ac
Commit
1d39c2ac
authored
Mar 22, 2014
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify some code
parent
9a59133d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Cython/Compiler/Symtab.py
Cython/Compiler/Symtab.py
+1
-1
Cython/Compiler/TypeInference.py
Cython/Compiler/TypeInference.py
+2
-2
No files found.
Cython/Compiler/Symtab.py
View file @
1d39c2ac
...
...
@@ -351,7 +351,7 @@ class Scope(object):
'cfunc_entries'
,
'c_class_entries'
):
self_entries
=
getattr
(
self
,
attr
)
names
=
set
(
[
e
.
name
for
e
in
self_entries
]
)
names
=
set
(
e
.
name
for
e
in
self_entries
)
for
entry
in
getattr
(
other
,
attr
):
if
(
entry
.
used
or
merge_unused
)
and
entry
.
name
not
in
names
:
self_entries
.
append
(
entry
)
...
...
Cython/Compiler/TypeInference.py
View file @
1d39c2ac
...
...
@@ -360,8 +360,8 @@ class SimpleAssignmentTypeInferer(object):
return
# Set of assignemnts
assignments
=
set
(
[]
)
assmts_resolved
=
set
(
[]
)
assignments
=
set
()
assmts_resolved
=
set
()
dependencies
=
{}
assmt_to_names
=
{}
...
...
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