diff options
author | Raymond Hettinger <python@rcn.com> | 2003-05-16 14:36:26 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-05-16 14:36:26 (GMT) |
commit | 047c54bb2400c14057ecbd32d646d08621ee703e (patch) | |
tree | 971445bd93b4c680f05655994f0cd45cfc171fc5 /Doc | |
parent | 1f325562f024132d3603c718966dd5d8c8be79ea (diff) | |
download | cpython-047c54bb2400c14057ecbd32d646d08621ee703e.zip cpython-047c54bb2400c14057ecbd32d646d08621ee703e.tar.gz cpython-047c54bb2400c14057ecbd32d646d08621ee703e.tar.bz2 |
Missing parenthesis.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/ext/newtypes.tex | 2 |
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; } |