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
67fa1607
Commit
67fa1607
authored
Apr 23, 1991
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor improvements. Removed footnote about CWI pathnames.
parent
a9d5c228
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
30 deletions
+8
-30
Doc/tut.tex
Doc/tut.tex
+4
-15
Doc/tut/tut.tex
Doc/tut/tut.tex
+4
-15
No files found.
Doc/tut.tex
View file @
67fa1607
...
...
@@ -47,7 +47,7 @@ off-line as well.
For a description of standard objects and modules, see the Library
Reference document.
The Language Reference document (XXX not yet existing)
gives a more formal
reference to
the language.
gives a more formal
definition of
the language.
\end{abstract}
...
...
@@ -152,18 +152,7 @@ Since the choice of the directory where the interpreter lives is an
installation option, other places instead of
{
\tt
/usr/local
}
are possible; check with your local
\Python\
guru or system
administrator.
%
\footnote
{
At CWI, at the time of writing, the interpreter can be found in
the following places:
On the Amoeba Ultrix machines, use the standard path,
{
\tt
/usr/local/python
}
.
On the Sun file servers, use
{
\tt
/ufs/guido/bin/
}{
\em
arch
}{
\tt
/python
}
,
where
{
\em
arch
}
can be
{
\tt
sgi
}
or
{
\tt
sun4
}
.
On piring, use
{
\tt
/userfs3/amoeba/bin/python
}
.
(If you can't find a binary advertised here, get in touch with me.)
}
administrator.
The interpreter operates somewhat like the
\UNIX\
shell: when called with
standard input connected to a tty device, it reads and executes commands
...
...
@@ -1351,7 +1340,7 @@ For example:
... except RuntimeError, detail:
... print 'Handling run-time error:', detail
...
Handling run-time error:
domain error or zero division
Handling run-time error:
integer division by zero
>>>
\end{verbatim}
\ecode
...
...
@@ -1380,7 +1369,7 @@ For example:
>>> try:
... raise my
_
exc, 2*2
... except my
_
exc, val:
... print 'My exception occured, value:', val
... print 'My exception occur
r
ed, value:', val
...
My exception occured, value: 4
>>> raise my
_
exc, 1
...
...
Doc/tut/tut.tex
View file @
67fa1607
...
...
@@ -47,7 +47,7 @@ off-line as well.
For a description of standard objects and modules, see the Library
Reference document.
The Language Reference document (XXX not yet existing)
gives a more formal
reference to
the language.
gives a more formal
definition of
the language.
\end{abstract}
...
...
@@ -152,18 +152,7 @@ Since the choice of the directory where the interpreter lives is an
installation option, other places instead of
{
\tt
/usr/local
}
are possible; check with your local
\Python\
guru or system
administrator.
%
\footnote
{
At CWI, at the time of writing, the interpreter can be found in
the following places:
On the Amoeba Ultrix machines, use the standard path,
{
\tt
/usr/local/python
}
.
On the Sun file servers, use
{
\tt
/ufs/guido/bin/
}{
\em
arch
}{
\tt
/python
}
,
where
{
\em
arch
}
can be
{
\tt
sgi
}
or
{
\tt
sun4
}
.
On piring, use
{
\tt
/userfs3/amoeba/bin/python
}
.
(If you can't find a binary advertised here, get in touch with me.)
}
administrator.
The interpreter operates somewhat like the
\UNIX\
shell: when called with
standard input connected to a tty device, it reads and executes commands
...
...
@@ -1351,7 +1340,7 @@ For example:
... except RuntimeError, detail:
... print 'Handling run-time error:', detail
...
Handling run-time error:
domain error or zero division
Handling run-time error:
integer division by zero
>>>
\end{verbatim}
\ecode
...
...
@@ -1380,7 +1369,7 @@ For example:
>>> try:
... raise my
_
exc, 2*2
... except my
_
exc, val:
... print 'My exception occured, value:', val
... print 'My exception occur
r
ed, value:', val
...
My exception occured, value: 4
>>> raise my
_
exc, 1
...
...
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