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
Gwenaël Samain
cython
Commits
91ee421e
Commit
91ee421e
authored
Sep 04, 2017
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up some code to avoid visual clutter.
parent
57c404e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+14
-14
No files found.
Cython/Compiler/ExprNodes.py
View file @
91ee421e
...
...
@@ -1918,17 +1918,17 @@ class NameNode(AtomicExprNode):
def
analyse_types
(
self
,
env
):
self
.
initialized_check
=
env
.
directives
[
'initializedcheck'
]
if
self
.
entry
is
None
:
self
.
entry
=
env
.
lookup
(
self
.
name
)
if
not
self
.
entry
:
self
.
entry
=
env
.
declare_builtin
(
self
.
name
,
self
.
pos
)
if
self
.
entry
and
self
.
entry
.
is_builtin
and
self
.
entry
.
is_const
:
entry
=
self
.
entry
if
entry
is
None
:
entry
=
env
.
lookup
(
self
.
name
)
if
not
entry
:
entry
=
env
.
declare_builtin
(
self
.
name
,
self
.
pos
)
if
entry
and
entry
.
is_builtin
and
entry
.
is_const
:
self
.
is_literal
=
True
if
not
self
.
entry
:
if
not
entry
:
self
.
type
=
PyrexTypes
.
error_type
return
self
entry
=
self
.
entry
if
entry
:
self
.
entry
=
entry
entry
.
used
=
1
if
entry
.
type
.
is_buffer
:
from
.
import
Buffer
...
...
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