parent
e180307c10
commit
ff294fea40
|
@ -191,7 +191,7 @@ Example:
|
|||
7 49
|
||||
8 64
|
||||
9 81
|
||||
>>> 8 in db
|
||||
>>> '8' in db
|
||||
True
|
||||
>>> db.sync()
|
||||
0
|
||||
|
|
|
@ -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}{}
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue