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
91ee421e
Commit
91ee421e
authored
7 years ago
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
Hide 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,21 +1918,21 @@ class NameNode(AtomicExprNode):
...
@@ -1918,21 +1918,21 @@ class NameNode(AtomicExprNode):
def
analyse_types
(
self
,
env
):
def
analyse_types
(
self
,
env
):
self
.
initialized_check
=
env
.
directives
[
'initializedcheck'
]
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
:
self
.
is_literal
=
True
if
not
self
.
entry
:
self
.
type
=
PyrexTypes
.
error_type
return
self
entry
=
self
.
entry
entry
=
self
.
entry
if
entry
:
if
entry
is
None
:
entry
.
used
=
1
entry
=
env
.
lookup
(
self
.
name
)
if
entry
.
type
.
is_buffer
:
if
not
entry
:
from
.
import
Buffer
entry
=
env
.
declare_builtin
(
self
.
name
,
self
.
pos
)
Buffer
.
used_buffer_aux_vars
(
entry
)
if
entry
and
entry
.
is_builtin
and
entry
.
is_const
:
self
.
is_literal
=
True
if
not
entry
:
self
.
type
=
PyrexTypes
.
error_type
return
self
self
.
entry
=
entry
entry
.
used
=
1
if
entry
.
type
.
is_buffer
:
from
.
import
Buffer
Buffer
.
used_buffer_aux_vars
(
entry
)
self
.
analyse_rvalue_entry
(
env
)
self
.
analyse_rvalue_entry
(
env
)
return
self
return
self
...
...
This diff is collapsed.
Click to expand it.
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