Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02ee80d

Browse files
committed
minor things
1 parent 25f6fcc commit 02ee80d

6 files changed

Lines changed: 20 additions & 18 deletions

File tree

Doc/lib/libintro.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ \chapter{Introduction}
33
The ``Python library'' contains several different kinds of components.
44

55
It contains data types that would normally be considered part of the
6-
``core'' of the language, such as numbers and lists. For these types,
7-
the core language defines the form of literals and places some
8-
constraints on their semantics, but it does not fully describe the
9-
semantics. (On the other hand, the core of the language defines
6+
``core'' of a language, such as numbers and lists. For these types,
7+
the Python language core defines the form of literals and places some
8+
constraints on their semantics, but does not fully define the
9+
semantics. (On the other hand, the language core does define
1010
syntactic properties like the spelling and priorities of operators.)
1111

1212
The library also contains built-in functions and exceptions ---
@@ -39,7 +39,7 @@ \chapter{Introduction}
3939
overview of the available modules and application areas that are
4040
supported by the Python library. Of course, you don't \emph{have} to
4141
read it like a novel --- you can also browse the table of contents (in
42-
front of the manual) or look for a specific function, module or term
42+
front of the manual), or look for a specific function, module or term
4343
in the index (in the back). And finally, if you enjoy learning about
4444
random subjects, you choose a random page number (see module
4545
\code{rand}) and read a section or two.

Doc/lib/libobjs.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ \chapter{Built-in Types, Exceptions and Functions}
33
\nodename{Built-in Objects}
44

55
Names for built-in exceptions and functions are found in a separate
6-
symbol table. This table is searched last, so local and global
6+
symbol table. This table is searched last when the interpreter looks
7+
up the meaning of a name, so local and global
78
user-defined names can override built-in names. Built-in types are
8-
described together here for easy reference. %
9+
described together here for easy reference.%
910
\footnote{Most descriptions sorely lack explanations of the exceptions
1011
that may be raised --- this will be fixed in a future version of
1112
this manual.}

Doc/lib/libselect.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ \section{Built-in Module \sectcode{select}}
1212
\code{perror()}.
1313
\end{excdesc}
1414

15-
\begin{funcdesc}{select}{iwtd\, owtd\, ewtd\, timeout}
15+
\begin{funcdesc}{select}{iwtd\, owtd\, ewtd\optional{\, timeout}}
1616
This is a straightforward interface to the \UNIX{} \code{select()}
1717
system call. The first three arguments are lists of `waitable
1818
objects': either integers representing \UNIX{} file descriptors or
1919
objects with a parameterless method named \code{fileno()} returning
2020
such an integer. The three lists of waitable objects are for input,
2121
output and `exceptional conditions', respectively. Empty lists are
22-
allowed. The optional last argument is a time-out specified as a
22+
allowed. The optional \var{timeout} argument specifies a time-out as a
2323
floating point number in seconds. When the \var{timeout} argument
2424
is omitted the function blocks until at least one file descriptor is
2525
ready. A time-out value of zero specifies a poll and never blocks.

Doc/libintro.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ \chapter{Introduction}
33
The ``Python library'' contains several different kinds of components.
44

55
It contains data types that would normally be considered part of the
6-
``core'' of the language, such as numbers and lists. For these types,
7-
the core language defines the form of literals and places some
8-
constraints on their semantics, but it does not fully describe the
9-
semantics. (On the other hand, the core of the language defines
6+
``core'' of a language, such as numbers and lists. For these types,
7+
the Python language core defines the form of literals and places some
8+
constraints on their semantics, but does not fully define the
9+
semantics. (On the other hand, the language core does define
1010
syntactic properties like the spelling and priorities of operators.)
1111

1212
The library also contains built-in functions and exceptions ---
@@ -39,7 +39,7 @@ \chapter{Introduction}
3939
overview of the available modules and application areas that are
4040
supported by the Python library. Of course, you don't \emph{have} to
4141
read it like a novel --- you can also browse the table of contents (in
42-
front of the manual) or look for a specific function, module or term
42+
front of the manual), or look for a specific function, module or term
4343
in the index (in the back). And finally, if you enjoy learning about
4444
random subjects, you choose a random page number (see module
4545
\code{rand}) and read a section or two.

Doc/libobjs.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ \chapter{Built-in Types, Exceptions and Functions}
33
\nodename{Built-in Objects}
44

55
Names for built-in exceptions and functions are found in a separate
6-
symbol table. This table is searched last, so local and global
6+
symbol table. This table is searched last when the interpreter looks
7+
up the meaning of a name, so local and global
78
user-defined names can override built-in names. Built-in types are
8-
described together here for easy reference. %
9+
described together here for easy reference.%
910
\footnote{Most descriptions sorely lack explanations of the exceptions
1011
that may be raised --- this will be fixed in a future version of
1112
this manual.}

Doc/libselect.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ \section{Built-in Module \sectcode{select}}
1212
\code{perror()}.
1313
\end{excdesc}
1414

15-
\begin{funcdesc}{select}{iwtd\, owtd\, ewtd\, timeout}
15+
\begin{funcdesc}{select}{iwtd\, owtd\, ewtd\optional{\, timeout}}
1616
This is a straightforward interface to the \UNIX{} \code{select()}
1717
system call. The first three arguments are lists of `waitable
1818
objects': either integers representing \UNIX{} file descriptors or
1919
objects with a parameterless method named \code{fileno()} returning
2020
such an integer. The three lists of waitable objects are for input,
2121
output and `exceptional conditions', respectively. Empty lists are
22-
allowed. The optional last argument is a time-out specified as a
22+
allowed. The optional \var{timeout} argument specifies a time-out as a
2323
floating point number in seconds. When the \var{timeout} argument
2424
is omitted the function blocks until at least one file descriptor is
2525
ready. A time-out value of zero specifies a poll and never blocks.

0 commit comments

Comments
 (0)