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
95447d55
Commit
95447d55
authored
Nov 21, 2011
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix copy&paste bugs
parent
0223b394
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+1
-1
Cython/Compiler/ModuleNode.py
Cython/Compiler/ModuleNode.py
+1
-1
No files found.
Cython/Compiler/ExprNodes.py
View file @
95447d55
...
@@ -4568,7 +4568,7 @@ class SequenceNode(ExprNode):
...
@@ -4568,7 +4568,7 @@ class SequenceNode(ExprNode):
def
analyse_target_types
(
self
,
env
):
def
analyse_target_types
(
self
,
env
):
if
self
.
mult_factor
:
if
self
.
mult_factor
:
error
(
arg
.
pos
,
"can't assign to multiplied sequence"
)
error
(
self
.
pos
,
"can't assign to multiplied sequence"
)
self
.
unpacked_items
=
[]
self
.
unpacked_items
=
[]
self
.
coerced_unpacked_items
=
[]
self
.
coerced_unpacked_items
=
[]
self
.
any_coerced_items
=
False
self
.
any_coerced_items
=
False
...
...
Cython/Compiler/ModuleNode.py
View file @
95447d55
...
@@ -2168,7 +2168,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
...
@@ -2168,7 +2168,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
else
:
else
:
module_name
=
'__Pyx_BUILTIN_MODULE_NAME'
module_name
=
'__Pyx_BUILTIN_MODULE_NAME'
if
type
.
name
in
Code
.
non_portable_builtins_map
:
if
type
.
name
in
Code
.
non_portable_builtins_map
:
condition
,
replacement
=
Code
.
non_portable_builtins_map
[
entry
.
name
]
condition
,
replacement
=
Code
.
non_portable_builtins_map
[
type
.
name
]
code
.
putln
(
"#if %s"
%
condition
)
code
.
putln
(
"#if %s"
%
condition
)
code
.
putln
(
'%s = __Pyx_ImportType(%s, "%s", sizeof(%s), 1); %s'
%
(
code
.
putln
(
'%s = __Pyx_ImportType(%s, "%s", sizeof(%s), 1); %s'
%
(
type
.
typeptr_cname
,
type
.
typeptr_cname
,
...
...
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