summaryrefslogtreecommitdiffstats
path: root/Doc/ext
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/ext')
-rw-r--r--Doc/ext/newtypes.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ext/newtypes.tex b/Doc/ext/newtypes.tex
index ca73985..8b300aa 100644
--- a/Doc/ext/newtypes.tex
+++ b/Doc/ext/newtypes.tex
@@ -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;
}