From: Raymond Hettinger Date: Fri, 16 May 2003 14:36:26 +0000 (+0000) Subject: Missing parenthesis. X-Git-Tag: v2.3c1~703 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=047c54bb2400c14057ecbd32d646d08621ee703e;p=python Missing parenthesis. --- diff --git a/Doc/ext/newtypes.tex b/Doc/ext/newtypes.tex index ca7398503b..8b300aaee5 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; }