]> granicus.if.org Git - python/commitdiff
Fix missing parenthesis
authorRaymond Hettinger <python@rcn.com>
Sat, 12 Jul 2003 04:42:30 +0000 (04:42 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 12 Jul 2003 04:42:30 +0000 (04:42 +0000)
Doc/whatsnew/whatsnew23.tex

index 007cf0882db32f5db4bca2e085a2a2b1310254e2..8b3fc61d7f8e583839e3343fc4f094243db9b40d 100644 (file)
@@ -2145,7 +2145,7 @@ than using \constant{METH_NOARGS}.
 \item A new function, \cfunction{PyObject_DelItemString(\var{mapping},
 char *\var{key})} was added
 as shorthand for
-\code{PyObject_DelItem(\var{mapping}, PyString_New(\var{key})}.
+\code{PyObject_DelItem(\var{mapping}, PyString_New(\var{key}))}.
 
 \item The \method{xreadlines()} method of file objects, introduced in
 Python 2.1, is no longer necessary because files now behave as their