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
e22d3dfc
Commit
e22d3dfc
authored
Mar 21, 2002
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix grammar
parent
b25c2b0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Doc/lib/libwarnings.tex
Doc/lib/libwarnings.tex
+1
-1
No files found.
Doc/lib/libwarnings.tex
View file @
e22d3dfc
...
@@ -147,7 +147,7 @@ Issue a warning, or maybe ignore it or raise an exception. The
...
@@ -147,7 +147,7 @@ Issue a warning, or maybe ignore it or raise an exception. The
\var
{
category
}
argument, if given, must be a warning category class
\var
{
category
}
argument, if given, must be a warning category class
(see above); it defaults to
\exception
{
UserWarning
}
. Alternatively
(see above); it defaults to
\exception
{
UserWarning
}
. Alternatively
\var
{
message
}
can be a
\exception
{
Warning
}
instance, in which case
\var
{
message
}
can be a
\exception
{
Warning
}
instance, in which case
\var
{
category
}
will be ignore and
\code
{
message.
__
class
__}
will be used.
\var
{
category
}
will be ignore
d
and
\code
{
message.
__
class
__}
will be used.
In this case the message text will be
\code
{
str(message)
}
. This function
In this case the message text will be
\code
{
str(message)
}
. This function
raises an exception if the particular warning issued is changed
raises an exception if the particular warning issued is changed
into an error by the warnings filter see above. The
\var
{
stacklevel
}
into an error by the warnings filter see above. The
\var
{
stacklevel
}
...
...
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