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
1c8d21e1
Commit
1c8d21e1
authored
Apr 18, 2020
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some missing branch hints.
parent
04d918f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Cython/Utility/ObjectHandling.c
Cython/Utility/ObjectHandling.c
+6
-6
No files found.
Cython/Utility/ObjectHandling.c
View file @
1c8d21e1
...
...
@@ -383,7 +383,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
static
PyObject
*
__Pyx_GetItemInt_Generic
(
PyObject
*
o
,
PyObject
*
j
)
{
PyObject
*
r
;
if
(
!
j
)
return
NULL
;
if
(
unlikely
(
!
j
)
)
return
NULL
;
r
=
PyObject_GetItem
(
o
,
j
);
Py_DECREF
(
j
);
return
r
;
...
...
@@ -479,7 +479,7 @@ static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObje
static
int
__Pyx_SetItemInt_Generic
(
PyObject
*
o
,
PyObject
*
j
,
PyObject
*
v
)
{
int
r
;
if
(
!
j
)
return
-
1
;
if
(
unlikely
(
!
j
)
)
return
-
1
;
r
=
PyObject_SetItem
(
o
,
j
,
v
);
Py_DECREF
(
j
);
return
r
;
...
...
@@ -554,7 +554,7 @@ static CYTHON_INLINE int __Pyx_DelItemInt_Fast(PyObject *o, Py_ssize_t i,
static
int
__Pyx_DelItem_Generic
(
PyObject
*
o
,
PyObject
*
j
)
{
int
r
;
if
(
!
j
)
return
-
1
;
if
(
unlikely
(
!
j
)
)
return
-
1
;
r
=
PyObject_DelItem
(
o
,
j
);
Py_DECREF
(
j
);
return
r
;
...
...
@@ -966,10 +966,10 @@ static PyObject *__Pyx_CreateClass(PyObject *bases, PyObject *dict, PyObject *na
PyObject
*
result
;
PyObject
*
metaclass
;
if
(
PyDict_SetItem
(
dict
,
PYIDENT
(
"__module__"
),
modname
)
<
0
)
if
(
unlikely
(
PyDict_SetItem
(
dict
,
PYIDENT
(
"__module__"
),
modname
)
<
0
)
)
return
NULL
;
#if PY_VERSION_HEX >= 0x03030000
if
(
PyDict_SetItem
(
dict
,
PYIDENT
(
"__qualname__"
),
qualname
)
<
0
)
if
(
unlikely
(
PyDict_SetItem
(
dict
,
PYIDENT
(
"__qualname__"
),
qualname
)
<
0
)
)
return
NULL
;
#else
CYTHON_MAYBE_UNUSED_VAR
(
qualname
);
...
...
@@ -1619,7 +1619,7 @@ static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **me
goto
try_unpack
;
}
if
(
descr
!=
NULL
)
{
if
(
likely
(
descr
!=
NULL
)
)
{
*
method
=
descr
;
return
0
;
}
...
...
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