Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
02ee80d4
Commit
02ee80d4
authored
Apr 04, 1995
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor things
parent
25f6fcc5
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
18 deletions
+20
-18
Doc/lib/libintro.tex
Doc/lib/libintro.tex
+5
-5
Doc/lib/libobjs.tex
Doc/lib/libobjs.tex
+3
-2
Doc/lib/libselect.tex
Doc/lib/libselect.tex
+2
-2
Doc/libintro.tex
Doc/libintro.tex
+5
-5
Doc/libobjs.tex
Doc/libobjs.tex
+3
-2
Doc/libselect.tex
Doc/libselect.tex
+2
-2
No files found.
Doc/lib/libintro.tex
View file @
02ee80d4
...
...
@@ -3,10 +3,10 @@
The ``Python library'' contains several different kinds of components.
It contains data types that would normally be considered part of the
``core'' of
the
language, such as numbers and lists. For these types,
the
core languag
e defines the form of literals and places some
constraints on their semantics, but
it does not fully describ
e the
semantics. (On the other hand, the
core of the language defines
``core'' of
a
language, such as numbers and lists. For these types,
the
Python language cor
e defines the form of literals and places some
constraints on their semantics, but
does not fully defin
e the
semantics. (On the other hand, the
language core does define
syntactic properties like the spelling and priorities of operators.)
The library also contains built-in functions and exceptions ---
...
...
@@ -39,7 +39,7 @@ skip to the next chapter when you get bored, you will get a reasonable
overview of the available modules and application areas that are
supported by the Python library. Of course, you don't
\emph
{
have
}
to
read it like a novel --- you can also browse the table of contents (in
front of the manual) or look for a specific function, module or term
front of the manual)
,
or look for a specific function, module or term
in the index (in the back). And finally, if you enjoy learning about
random subjects, you choose a random page number (see module
\code
{
rand
}
) and read a section or two.
...
...
Doc/lib/libobjs.tex
View file @
02ee80d4
...
...
@@ -3,9 +3,10 @@
\nodename
{
Built-in Objects
}
Names for built-in exceptions and functions are found in a separate
symbol table. This table is searched last, so local and global
symbol table. This table is searched last when the interpreter looks
up the meaning of a name, so local and global
user-defined names can override built-in names. Built-in types are
described together here for easy reference.
%
described together here for easy reference.
%
\footnote
{
Most descriptions sorely lack explanations of the exceptions
that may be raised --- this will be fixed in a future version of
this manual.
}
...
...
Doc/lib/libselect.tex
View file @
02ee80d4
...
...
@@ -12,14 +12,14 @@ corresponding string, as would be printed by the C function
\code
{
perror()
}
.
\end{excdesc}
\begin{funcdesc}
{
select
}{
iwtd
\,
owtd
\,
ewtd
\
,
timeout
}
\begin{funcdesc}
{
select
}{
iwtd
\,
owtd
\,
ewtd
\
optional
{
\,
timeout
}
}
This is a straightforward interface to the
\UNIX
{}
\code
{
select()
}
system call. The first three arguments are lists of `waitable
objects': either integers representing
\UNIX
{}
file descriptors or
objects with a parameterless method named
\code
{
fileno()
}
returning
such an integer. The three lists of waitable objects are for input,
output and `exceptional conditions', respectively. Empty lists are
allowed. The optional
last argument is a time-out specified
as a
allowed. The optional
\var
{
timeout
}
argument specifies a time-out
as a
floating point number in seconds. When the
\var
{
timeout
}
argument
is omitted the function blocks until at least one file descriptor is
ready. A time-out value of zero specifies a poll and never blocks.
...
...
Doc/libintro.tex
View file @
02ee80d4
...
...
@@ -3,10 +3,10 @@
The ``Python library'' contains several different kinds of components.
It contains data types that would normally be considered part of the
``core'' of
the
language, such as numbers and lists. For these types,
the
core languag
e defines the form of literals and places some
constraints on their semantics, but
it does not fully describ
e the
semantics. (On the other hand, the
core of the language defines
``core'' of
a
language, such as numbers and lists. For these types,
the
Python language cor
e defines the form of literals and places some
constraints on their semantics, but
does not fully defin
e the
semantics. (On the other hand, the
language core does define
syntactic properties like the spelling and priorities of operators.)
The library also contains built-in functions and exceptions ---
...
...
@@ -39,7 +39,7 @@ skip to the next chapter when you get bored, you will get a reasonable
overview of the available modules and application areas that are
supported by the Python library. Of course, you don't
\emph
{
have
}
to
read it like a novel --- you can also browse the table of contents (in
front of the manual) or look for a specific function, module or term
front of the manual)
,
or look for a specific function, module or term
in the index (in the back). And finally, if you enjoy learning about
random subjects, you choose a random page number (see module
\code
{
rand
}
) and read a section or two.
...
...
Doc/libobjs.tex
View file @
02ee80d4
...
...
@@ -3,9 +3,10 @@
\nodename
{
Built-in Objects
}
Names for built-in exceptions and functions are found in a separate
symbol table. This table is searched last, so local and global
symbol table. This table is searched last when the interpreter looks
up the meaning of a name, so local and global
user-defined names can override built-in names. Built-in types are
described together here for easy reference.
%
described together here for easy reference.
%
\footnote
{
Most descriptions sorely lack explanations of the exceptions
that may be raised --- this will be fixed in a future version of
this manual.
}
...
...
Doc/libselect.tex
View file @
02ee80d4
...
...
@@ -12,14 +12,14 @@ corresponding string, as would be printed by the C function
\code
{
perror()
}
.
\end{excdesc}
\begin{funcdesc}
{
select
}{
iwtd
\,
owtd
\,
ewtd
\
,
timeout
}
\begin{funcdesc}
{
select
}{
iwtd
\,
owtd
\,
ewtd
\
optional
{
\,
timeout
}
}
This is a straightforward interface to the
\UNIX
{}
\code
{
select()
}
system call. The first three arguments are lists of `waitable
objects': either integers representing
\UNIX
{}
file descriptors or
objects with a parameterless method named
\code
{
fileno()
}
returning
such an integer. The three lists of waitable objects are for input,
output and `exceptional conditions', respectively. Empty lists are
allowed. The optional
last argument is a time-out specified
as a
allowed. The optional
\var
{
timeout
}
argument specifies a time-out
as a
floating point number in seconds. When the
\var
{
timeout
}
argument
is omitted the function blocks until at least one file descriptor is
ready. A time-out value of zero specifies a poll and never blocks.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment