]> granicus.if.org Git - python/commitdiff
Missing parenthesis.
authorRaymond Hettinger <python@rcn.com>
Fri, 16 May 2003 14:36:26 +0000 (14:36 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 16 May 2003 14:36:26 +0000 (14:36 +0000)
Doc/ext/newtypes.tex

index ca7398503bd7d003f956e781a804befb3b37389a..8b300aaee5d4fe05429eefa445262f7b088ed606 100644 (file)
@@ -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;
     }