Commit 047c54bb authored by Raymond Hettinger's avatar Raymond Hettinger

Missing parenthesis.

parent 1f325562
......@@ -1359,7 +1359,7 @@ you are implementing, use the \cfunction{PyObject_TypeCheck} function.
A sample of its use might be something like the following:
\begin{verbatim}
if (! PyObject_TypeCheck(some_object, &MyType) {
if (! PyObject_TypeCheck(some_object, &MyType)) {
PyErr_SetString(PyExc_TypeError, "arg #1 not a mything");
return NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment