]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
SF patch #855195: fix typos
authorRaymond Hettinger <python@rcn.com>
Sun, 7 Dec 2003 13:05:15 +0000 (13:05 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 7 Dec 2003 13:05:15 +0000 (13:05 +0000)
(Contributed by George Yoshida.)

Doc/lib/libbsddb.tex
Doc/lib/libcurses.tex
Doc/lib/libfcntl.tex
Doc/lib/libitertools.tex

index 59dbeb96479f1461570946a587056645ce0656a1..ffafeae73e908ca9ae785703d40a7f5e62e090e4 100644 (file)
@@ -199,7 +199,7 @@ Example:
 7 49
 8 64
 9 81
->>> 8 in db
+>>> '8' in db
 True
 >>> db.sync()
 0
index 296e8874fcaff66b2f5ac338ee17295279047e04..8378e7656bbb6ddc6b0e20dfe383829c61ae59ce 100644 (file)
@@ -362,7 +362,7 @@ Leave cbreak mode.  Return to normal ``cooked'' mode with line buffering.
 \end{funcdesc}
 
 \begin{funcdesc}{noecho}{}
-Leave echo mode.  Echoing of input characters is turned off,
+Leave echo mode.  Echoing of input characters is turned off.
 \end{funcdesc}
 
 \begin{funcdesc}{nonl}{}
index 6eccb4a5b641b903405b9722bbb2484196ea5d56..ca8cc1971c011124bcb72c73f36c3fa612b452b8 100644 (file)
@@ -87,7 +87,7 @@ The module defines the following functions:
   An example:
 
 \begin{verbatim}
->>> import array, fnctl, struct, termios, os
+>>> import array, fcntl, struct, termios, os
 >>> os.getpgrp()
 13341
 >>> struct.unpack('h', fcntl.ioctl(0, termios.TIOCGPGRP, "  "))[0]
index 596406f176de7300b64669f1bd93af18700000bf..7481b6194b26ce69a67141485e6497d13f172ba1 100644 (file)
@@ -76,6 +76,7 @@ by functions or loops that truncate the stream.
 
 \begin{funcdesc}{count}{\optional{n}}
   Make an iterator that returns consecutive integers starting with \var{n}.
+  If not specified \var{n} defaults to zero.  
   Does not currently support python long integers.  Often used as an
   argument to \function{imap()} to generate consecutive data points.
   Also, used with \function{izip()} to add sequence numbers.  Equivalent to: