]> granicus.if.org Git - python/commitdiff
Missing parenthesis found by texcheck.py
authorRaymond Hettinger <python@rcn.com>
Sat, 10 May 2003 07:40:56 +0000 (07:40 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 10 May 2003 07:40:56 +0000 (07:40 +0000)
Doc/lib/libfuncs.tex
Doc/lib/libstdtypes.tex
Doc/lib/liburllib2.tex

index 345037ee53125dede04e1efc51db3f7977f23060..c90ecd129dbb839053bc385e06313cb6e9d87780 100644 (file)
@@ -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
index 951d0884ccb882566c0448abcee7b16f0c96b3fe..f5314093c667e0452fa8d3f356e174a7b73fb120 100644 (file)
@@ -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{<module 'sys' (built-in)>}.  If loaded from a file, they are
index 7b47f9b0a250e7fdc3337755f4b461f20463021e..48afc9be4c3594e0c43017a8185c5a65cf9179f9 100644 (file)
@@ -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{,