]> granicus.if.org Git - python/commitdiff
SF patch #855195: fix typos
authorRaymond Hettinger <python@rcn.com>
Sun, 7 Dec 2003 13:00:25 +0000 (13:00 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 7 Dec 2003 13:00:25 +0000 (13:00 +0000)
(Contributed by George Yoshida.)

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

index f625dabc8f384202ae7d382c4a4593ef8f728692..d22be065ab0f82817a23c584b74cfbbcd2dbc813 100644 (file)
@@ -191,7 +191,7 @@ Example:
 7 49
 8 64
 9 81
->>> 8 in db
+>>> '8' in db
 True
 >>> db.sync()
 0
index 1746db6fc44295f80620ebb6af7f570a291c247c..4bfec5103dab63e3250756536f489e73de01bb50 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 cd867b00ac9602e8a6ed239698563a84c64f9660..59fb1852ad72dcd1f462804c0e2d264290e316b9 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: