]> granicus.if.org Git - python/commitdiff
Fixed spacing and unbalanced brackets or parenthesis.
authorRaymond Hettinger <python@rcn.com>
Sat, 10 May 2003 03:35:37 +0000 (03:35 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 10 May 2003 03:35:37 +0000 (03:35 +0000)
Doc/lib/libarray.tex
Doc/lib/libftplib.tex
Doc/lib/liboptparse.tex
Doc/lib/libos.tex
Doc/lib/libtimeit.tex

index 9db346d5d4be428beffe1c444c72e6a37236a1f3..a590ed985aaa0ecbf1be8a061d1aeece2ea10f74 100644 (file)
@@ -229,5 +229,5 @@ array('d', [1.0, 2.0, 3.14])
            \url{http://numpy.sourceforge.net/} for further information
            about Numerical Python.  (A PDF version of the NumPy manual
            is available at
-           \url{http://numpy.sourceforge.net/numdoc/numdoc.pdf}.}
+           \url{http://numpy.sourceforge.net/numdoc/numdoc.pdf}).}
 \end{seealso}
index d4851ab2cf5227faed5d2b8a8f24ee40fd00ec6f..58d16cb10c128aed4b89362a60046bfc4a33eb4c 100644 (file)
@@ -160,7 +160,7 @@ same thing as in the \method{transfercmd()} method.
 \begin{methoddesc}{retrlines}{command\optional{, callback}}
 Retrieve a file or directory listing in \ASCII{} transfer mode.
 \var{command} should be an appropriate \samp{RETR} command (see
-\method{retrbinary()} or a \samp{LIST} command (usually just the string
+\method{retrbinary()}) or a \samp{LIST} command (usually just the string
 \code{'LIST'}).  The \var{callback} function is called for each line,
 with the trailing CRLF stripped.  The default \var{callback} prints
 the line to \code{sys.stdout}.
@@ -280,7 +280,7 @@ calls (see below).
 
 \begin{methoddesc}{close}{}
 Close the connection unilaterally.  This should not be applied to an
-already closed connection (such as after a successful call to
+already closed connection such as after a successful call to
 \method{quit()}.  After this call the \class{FTP} instance should not
 be used any more (after a call to \method{close()} or
 \method{quit()} you cannot reopen the connection by issuing another
index 026239ed48295b9b05a9a65ff167b67d0d21779d..12af7781505416b83aca1aa9ee981f46e5291f5b 100644 (file)
@@ -962,6 +962,7 @@ parser = OptionParser(usage, option_list=[
   make_option("--file", dest="filename",
               help="Input file to read data from"),
   make_option("--secret", help=SUPPRESS_HELP)
+])
 \end{verbatim}
 
 If \module{optparse} sees either \programopt{-h} or
index c9cf137b8ac79f4a1e0c17c9c8c9c9d6b9781b7f..dd492bbd5fd64f916f48dab7f0803ce9649bc90c 100644 (file)
@@ -453,7 +453,7 @@ this calls the native \cfunction{fsync()} function; on Windows, the
 MS \cfunction{_commit()} function.
 
 If you're starting with a Python file object \var{f}, first do
-\code{\var{f}.flush()}, and then do \code{os.fsync(\var{f}.fileno()},
+\code{\var{f}.flush()}, and then do \code{os.fsync(\var{f}.fileno())},
 to ensure that all internal buffers associated with \var{f} are written
 to disk.
 Availability: \UNIX, and Windows starting in 2.2.3.
@@ -884,7 +884,7 @@ the \ctype{stat} structure, namely:
 \member{st_mode} (protection bits),
 \member{st_ino} (inode number),
 \member{st_dev} (device),
-\member{st_nlink} (number of hard links,
+\member{st_nlink} (number of hard links),
 \member{st_uid} (user ID of owner),
 \member{st_gid} (group ID of owner),
 \member{st_size} (size of file, in bytes),
index 882cad1256ff0d1c0de3c5727697324a148137bc..42d9ea689227a460728a09aff8d3c3e543abeb70 100644 (file)
@@ -52,7 +52,7 @@ The optional \var{file} argument directs where the traceback is sent;
 it defaults to \code{sys.stderr}.
 \end{methoddesc}
 
-\begin{methoddesc}{repeat}{\optional{repeat\code{=3}\optional{,
+\begin{methoddesc}{repeat}{\optional{repeat\code{=3} \optional{,
                            number\code{=1000000}}}}
 Call \method{timeit()} a few times.