projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48a63f5
)
fix syntax
author
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 21 Sep 2013 11:47:07 +0000
(13:47 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 21 Sep 2013 11:47:07 +0000
(13:47 +0200)
Cython/Utility/TypeConversion.c
patch
|
blob
|
history
diff --git
a/Cython/Utility/TypeConversion.c
b/Cython/Utility/TypeConversion.c
index
b6b8e1d
..
b937e2b
100644
(file)
--- a/
Cython/Utility/TypeConversion.c
+++ b/
Cython/Utility/TypeConversion.c
@@
-521,7
+521,7
@@
static CYTHON_INLINE {{TYPE}} {{FROM_PY_FUNCTION}}(PyObject *x) {
} else {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
#if CYTHON_USE_PYLONG_INTERNALS
- if (sizeof(digit) <= sizeof({{TYPE}}) {
+ if (sizeof(digit) <= sizeof({{TYPE}})
)
{
switch (Py_SIZE(x)) {
case 0: return 0;
case 1: return +({{TYPE}}) ((PyLongObject*)x)->ob_digit[0];