Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a4f57ab + a83faac commit 1637932Copy full SHA for 1637932
1 file changed
src/_enums.h
@@ -80,7 +80,7 @@ namespace p11x {
80
auto ival = PyLong_AsLong(tmp); \
81
value = decltype(value)(ival); \
82
Py_DECREF(tmp); \
83
- return !(ival == -1 && !PyErr_Occurred()); \
+ return !(ival == -1 && PyErr_Occurred()); \
84
} else { \
85
return false; \
86
} \
0 commit comments