Commit ff294fea authored by Raymond Hettinger's avatar Raymond Hettinger

SF patch #855195: fix typos

(Contributed by George Yoshida.)
parent e180307c
...@@ -191,7 +191,7 @@ Example: ...@@ -191,7 +191,7 @@ Example:
7 49 7 49
8 64 8 64
9 81 9 81
>>> 8 in db >>> '8' in db
True True
>>> db.sync() >>> db.sync()
0 0
......
...@@ -362,7 +362,7 @@ Leave cbreak mode. Return to normal ``cooked'' mode with line buffering. ...@@ -362,7 +362,7 @@ Leave cbreak mode. Return to normal ``cooked'' mode with line buffering.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{noecho}{} \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} \end{funcdesc}
\begin{funcdesc}{nonl}{} \begin{funcdesc}{nonl}{}
......
...@@ -87,7 +87,7 @@ The module defines the following functions: ...@@ -87,7 +87,7 @@ The module defines the following functions:
An example: An example:
\begin{verbatim} \begin{verbatim}
>>> import array, fnctl, struct, termios, os >>> import array, fcntl, struct, termios, os
>>> os.getpgrp() >>> os.getpgrp()
13341 13341
>>> struct.unpack('h', fcntl.ioctl(0, termios.TIOCGPGRP, " "))[0] >>> struct.unpack('h', fcntl.ioctl(0, termios.TIOCGPGRP, " "))[0]
......
...@@ -76,6 +76,7 @@ by functions or loops that truncate the stream. ...@@ -76,6 +76,7 @@ by functions or loops that truncate the stream.
\begin{funcdesc}{count}{\optional{n}} \begin{funcdesc}{count}{\optional{n}}
Make an iterator that returns consecutive integers starting with \var{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 Does not currently support python long integers. Often used as an
argument to \function{imap()} to generate consecutive data points. argument to \function{imap()} to generate consecutive data points.
Also, used with \function{izip()} to add sequence numbers. Equivalent to: Also, used with \function{izip()} to add sequence numbers. Equivalent to:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment