summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-12-07 13:00:25 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-12-07 13:00:25 (GMT)
commitff294fea40daa2987aa9913f4724b97c0ec2c375 (patch)
tree7acd917c123d7132d23a183461a278af10b35833
parente180307c10ff9ddc3da73798e1130b1ac68c8fdf (diff)
downloadcpython-ff294fea40daa2987aa9913f4724b97c0ec2c375.zip
cpython-ff294fea40daa2987aa9913f4724b97c0ec2c375.tar.gz
cpython-ff294fea40daa2987aa9913f4724b97c0ec2c375.tar.bz2
SF patch #855195: fix typos
(Contributed by George Yoshida.)
-rw-r--r--Doc/lib/libbsddb.tex2
-rw-r--r--Doc/lib/libcurses.tex2
-rw-r--r--Doc/lib/libfcntl.tex2
-rw-r--r--Doc/lib/libitertools.tex1
4 files changed, 4 insertions, 3 deletions
diff --git a/Doc/lib/libbsddb.tex b/Doc/lib/libbsddb.tex
index f625dab..d22be06 100644
--- a/Doc/lib/libbsddb.tex
+++ b/Doc/lib/libbsddb.tex
@@ -191,7 +191,7 @@ Example:
7 49
8 64
9 81
->>> 8 in db
+>>> '8' in db
True
>>> db.sync()
0
diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex
index 1746db6..4bfec51 100644
--- a/Doc/lib/libcurses.tex
+++ b/Doc/lib/libcurses.tex
@@ -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}{}
diff --git a/Doc/lib/libfcntl.tex b/Doc/lib/libfcntl.tex
index 6eccb4a..ca8cc19 100644
--- a/Doc/lib/libfcntl.tex
+++ b/Doc/lib/libfcntl.tex
@@ -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]
diff --git a/Doc/lib/libitertools.tex b/Doc/lib/libitertools.tex
index cd867b0..59fb185 100644
--- a/Doc/lib/libitertools.tex
+++ b/Doc/lib/libitertools.tex
@@ -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: