diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-21 12:58:54 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-21 12:58:54 (GMT) |
commit | e22d3dfcc100bade1ef278b692bad38c7e5acdeb (patch) | |
tree | c05e91c80eb1196bd6d4876d59c3c4d5add8d81a | |
parent | b25c2b0a4a46156bd8efa9eab39503e18fa0b805 (diff) | |
download | cpython-e22d3dfcc100bade1ef278b692bad38c7e5acdeb.zip cpython-e22d3dfcc100bade1ef278b692bad38c7e5acdeb.tar.gz cpython-e22d3dfcc100bade1ef278b692bad38c7e5acdeb.tar.bz2 |
Fix grammar
-rw-r--r-- | Doc/lib/libwarnings.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libwarnings.tex b/Doc/lib/libwarnings.tex index 573d99c..b0eb908 100644 --- a/Doc/lib/libwarnings.tex +++ b/Doc/lib/libwarnings.tex @@ -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 (see above); it defaults to \exception{UserWarning}. Alternatively \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 ignored and \code{message.__class__} will be used. In this case the message text will be \code{str(message)}. This function raises an exception if the particular warning issued is changed into an error by the warnings filter see above. The \var{stacklevel} |