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
c457ca7e
Commit
c457ca7e
authored
Jul 23, 1998
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up Barry's markup, which didn't pass the latex test. ;-)
parent
da00c878
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
Doc/lib/libexcs.tex
Doc/lib/libexcs.tex
+7
-8
No files found.
Doc/lib/libexcs.tex
View file @
c457ca7e
...
@@ -13,9 +13,9 @@ exceptions is present in the standard library module
...
@@ -13,9 +13,9 @@ exceptions is present in the standard library module
For backward compatibility, when Python is invoked with the
\code
{
-X
}
For backward compatibility, when Python is invoked with the
\code
{
-X
}
option, most of the standard exceptions are strings
\footnote
{
For
option, most of the standard exceptions are strings
\footnote
{
For
forward-compatibility the new exceptions
\
code
{
LookupError
}
,
forward-compatibility the new exceptions
\
exception
{
LookupError
}
,
\
code
{
ArithmeticError
}
,
\code
{
EnvironmentError
}
, and
\
exception
{
ArithmeticError
}
,
\exception
{
EnvironmentError
}
, and
\
code
{
StandardError
}
are tuples.
}
. This option may be used to
\
exception
{
StandardError
}
are tuples.
}
. This option may be used to
run code that breaks because of the different semantics of class based
run code that breaks because of the different semantics of class based
exceptions. The
\code
{
-X
}
option will become obsolete in future
exceptions. The
\code
{
-X
}
option will become obsolete in future
Python versions, so the recommended solution is to fix the code.
Python versions, so the recommended solution is to fix the code.
...
@@ -72,7 +72,7 @@ classes) returns the string value of the argument or arguments, or an
...
@@ -72,7 +72,7 @@ classes) returns the string value of the argument or arguments, or an
empty string if no arguments were given to the constructor. When used
empty string if no arguments were given to the constructor. When used
as a sequence, this accesses the arguments given to the constructor
as a sequence, this accesses the arguments given to the constructor
(handy for backward compatibility with old code). The arguments are
(handy for backward compatibility with old code). The arguments are
also available on the instance's
\
code
{
args
}
attribute, as a tuple.
also available on the instance's
\
member
{
args
}
attribute, as a tuple.
\end{excdesc}
\end{excdesc}
\begin{excdesc}
{
StandardError
}
\begin{excdesc}
{
StandardError
}
...
@@ -153,7 +153,6 @@ symbol is defined in the \file{config.h} file.
...
@@ -153,7 +153,6 @@ symbol is defined in the \file{config.h} file.
\begin{excdesc}
{
IOError
}
\begin{excdesc}
{
IOError
}
% XXXJH xrefs here
% XXXJH xrefs here
<<<<<<< libexcs.tex
Raised when an I/O operation (such as a
\keyword
{
print
}
statement, the
Raised when an I/O operation (such as a
\keyword
{
print
}
statement, the
built-in
\function
{
open()
}
function or a method of a file object) fails
built-in
\function
{
open()
}
function or a method of a file object) fails
for an I/O-related reason, e.g., ``file not found'' or ``disk full''.
for an I/O-related reason, e.g., ``file not found'' or ``disk full''.
...
@@ -211,9 +210,9 @@ above for more information on exception instance attributes.
...
@@ -211,9 +210,9 @@ above for more information on exception instance attributes.
\begin{excdesc}
{
OSError
}
\begin{excdesc}
{
OSError
}
%xref for os module
%xref for os module
This class is derived from
\
begi
n{EnvironmentError}
and is used
This class is derived from
\
exceptio
n
{
EnvironmentError
}
and is used
primarily as the by the
\
cod
e
{
os
}
module's
\code
{
os.error
}
primarily as the by the
\
modul
e
{
os
}
module's
\code
{
os.error
}
exception. See
the
\begi
n{EnvironmentError}
above for a description
exception. See
\exceptio
n
{
EnvironmentError
}
above for a description
of the possible associated values.
of the possible associated values.
\end{excdesc}
\end{excdesc}
...
...
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