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
e9423fd9
Commit
e9423fd9
authored
Mar 17, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reformat code.
parent
fbae0cc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Cython/Compiler/PyrexTypes.py
Cython/Compiler/PyrexTypes.py
+4
-4
No files found.
Cython/Compiler/PyrexTypes.py
View file @
e9423fd9
...
@@ -3773,14 +3773,14 @@ class CppClassType(CType):
...
@@ -3773,14 +3773,14 @@ class CppClassType(CType):
return
1
return
1
# This messy logic is needed due to GH Issue #1852.
# This messy logic is needed due to GH Issue #1852.
elif
(
self
.
cname
==
other_type
.
cname
and
elif
(
self
.
cname
==
other_type
.
cname
and
(
self
.
template_type
and
other_type
.
template_type
(
self
.
template_type
and
other_type
.
template_type
or
self
.
templates
or
self
.
templates
or
other_type
.
templates
)):
or
other_type
.
templates
)):
if
self
.
templates
==
other_type
.
templates
:
if
self
.
templates
==
other_type
.
templates
:
return
1
return
1
for
t1
,
t2
in
zip
(
self
.
templates
,
other_type
.
templates
):
for
t1
,
t2
in
zip
(
self
.
templates
,
other_type
.
templates
):
if
is_optional_template_param
(
t1
)
and
is_optional_template_param
(
t2
):
if
is_optional_template_param
(
t1
)
and
is_optional_template_param
(
t2
):
break
break
if
not
t1
.
same_as_resolved_type
(
t2
):
if
not
t1
.
same_as_resolved_type
(
t2
):
return
0
return
0
return
1
return
1
...
...
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