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 60383ac + 6fd7445 commit b39d992Copy full SHA for b39d992
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