mirror of
https://github.com/python/cpython
synced 2026-09-29 11:55:30 +03:00
Missing parenthesis.
This commit is contained in:
parent
1f325562f0
commit
047c54bb24
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue