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
d6f1be73
Commit
d6f1be73
authored
Feb 17, 2019
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix CPython version guard.
parent
459a5195
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Cython/Utility/ObjectHandling.c
Cython/Utility/ObjectHandling.c
+2
-2
No files found.
Cython/Utility/ObjectHandling.c
View file @
d6f1be73
...
...
@@ -1807,7 +1807,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
PyObject
*
method
=
NULL
,
*
result
=
NULL
;
int
is_method
=
__Pyx_PyObject_GetMethod
(
obj
,
method_name
,
&
method
);
if
(
likely
(
is_method
))
{
#if PY_VERSION_HEX >= 0x030700A
0
&& CYTHON_UNPACK_METHODS && CYTHON_FAST_PYCCALL
#if PY_VERSION_HEX >= 0x030700A
1
&& CYTHON_UNPACK_METHODS && CYTHON_FAST_PYCCALL
if
(
Py_TYPE
(
method
)
==
&
PyMethodDescr_Type
)
{
PyMethodDescrObject
*
descr
=
(
PyMethodDescrObject
*
)
method
;
result
=
_PyMethodDef_RawFastCallKeywords
(
descr
->
d_method
,
obj
,
NULL
,
0
,
NULL
);
...
...
@@ -1906,7 +1906,7 @@ static PyObject* __Pyx_PyObject_CallMethod2(PyObject* obj, PyObject* method_name
PyObject
*
args
,
*
method
=
NULL
,
*
result
=
NULL
;
int
is_method
=
__Pyx_PyObject_GetMethod
(
obj
,
method_name
,
&
method
);
if
(
likely
(
is_method
))
{
#if PY_VERSION_HEX >= 0x030700A
0
&& CYTHON_UNPACK_METHODS && CYTHON_FAST_PYCCALL
#if PY_VERSION_HEX >= 0x030700A
1
&& CYTHON_UNPACK_METHODS && CYTHON_FAST_PYCCALL
if
(
Py_TYPE
(
method
)
==
&
PyMethodDescr_Type
)
{
PyMethodDescrObject
*
descr
=
(
PyMethodDescrObject
*
)
method
;
PyObject
*
args
[
2
]
=
{
arg1
,
arg2
};
...
...
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