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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
fd13746d
Commit
fd13746d
authored
Jan 02, 2017
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Normalize bracket placement.
parent
760d0429
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
Cython/Utility/StringTools.c
Cython/Utility/StringTools.c
+3
-6
No files found.
Cython/Utility/StringTools.c
View file @
fd13746d
...
...
@@ -192,14 +192,12 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int
#if CYTHON_COMPILING_IN_CPYTHON
#if CYTHON_PEP393_ENABLED
if
(((
PyASCIIObject
*
)
s1
)
->
hash
!=
((
PyASCIIObject
*
)
s2
)
->
hash
&&
((
PyASCIIObject
*
)
s1
)
->
hash
!=
-
1
&&
((
PyASCIIObject
*
)
s2
)
->
hash
!=
-
1
)
{
&&
((
PyASCIIObject
*
)
s1
)
->
hash
!=
-
1
&&
((
PyASCIIObject
*
)
s2
)
->
hash
!=
-
1
)
{
goto
return_ne
;
}
#else
if
(((
PyUnicodeObject
*
)
s1
)
->
hash
!=
((
PyUnicodeObject
*
)
s2
)
->
hash
&&
((
PyUnicodeObject
*
)
s1
)
->
hash
!=
-
1
&&
((
PyUnicodeObject
*
)
s2
)
->
hash
!=
-
1
)
{
&&
((
PyUnicodeObject
*
)
s1
)
->
hash
!=
-
1
&&
((
PyUnicodeObject
*
)
s2
)
->
hash
!=
-
1
)
{
goto
return_ne
;
}
#endif
...
...
@@ -278,8 +276,7 @@ static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int eq
}
else
{
#if CYTHON_COMPILING_IN_CPYTHON
if
(((
PyBytesObject
*
)
s1
)
->
ob_shash
!=
((
PyBytesObject
*
)
s2
)
->
ob_shash
&&
((
PyBytesObject
*
)
s1
)
->
ob_shash
!=
-
1
&&
((
PyBytesObject
*
)
s2
)
->
ob_shash
!=
-
1
)
{
&&
((
PyBytesObject
*
)
s1
)
->
ob_shash
!=
-
1
&&
((
PyBytesObject
*
)
s2
)
->
ob_shash
!=
-
1
)
{
return
(
equals
==
Py_NE
);
}
#endif
...
...
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