From: Raymond Hettinger Date: Sat, 10 May 2003 07:40:56 +0000 (+0000) Subject: Missing parenthesis found by texcheck.py X-Git-Tag: v2.3c1~766 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0dfd7a93617a33348a8d3b8155e8a037a1d8e283;p=python Missing parenthesis found by texcheck.py --- diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index 345037ee53..c90ecd129d 100644 --- a/Doc/lib/libfuncs.tex +++ b/Doc/lib/libfuncs.tex @@ -713,7 +713,7 @@ class C: \begin{funcdesc}{property}{\optional{fget\optional{, fset\optional{, fdel\optional{, doc}}}}} Return a property attribute for new-style classes (classes that - derive from \function{object}. + derive from \function{object}). \var{fget} is a function for getting an attribute value, likewise \var{fset} is a function for setting, and \var{fdel} a function diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 951d0884cc..f5314093c6 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -1089,7 +1089,7 @@ arbitrary objects): \ttindex{pop()} \ttindex{popitem()} \ttindex{iteritems()} - \ttindex{iterkeys)} + \ttindex{iterkeys()} \ttindex{itervalues()}} \begin{tableiii}{c|l|c}{code}{Operation}{Result}{Notes} @@ -1450,7 +1450,7 @@ Modifying this dictionary will actually change the module's symbol table, but direct assignment to the \member{__dict__} attribute is not possible (you can write \code{\var{m}.__dict__['a'] = 1}, which defines \code{\var{m}.a} to be \code{1}, but you can't write -\code{\var{m}.__dict__ = \{\}}. +\code{\var{m}.__dict__ = \{\}}). Modules built into the interpreter are written like this: \code{}. If loaded from a file, they are diff --git a/Doc/lib/liburllib2.tex b/Doc/lib/liburllib2.tex index 7b47f9b0a2..48afc9be4c 100644 --- a/Doc/lib/liburllib2.tex +++ b/Doc/lib/liburllib2.tex @@ -297,7 +297,7 @@ Open the given \var{url} (which can be a request object or a string), optionally passing the given \var{data}. Arguments, return values and exceptions raised are the same as those of \function{urlopen()} (which simply calls the \method{open()} method -on the default installed \class{OpenerDirector}. +on the default installed \class{OpenerDirector}). \end{methoddesc} \begin{methoddesc}[OpenerDirector]{error}{proto\optional{,