diff options
author | Fred Drake <fdrake@acm.org> | 1999-12-21 18:45:16 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-12-21 18:45:16 (GMT) |
commit | b9bdfc6a230f846a1cd1c681def83cf04d357587 (patch) | |
tree | 559817f1a6d9ab0a614bc3bdf88abdbd780f3858 /Doc | |
parent | 89ab16347905fbf389a3bced117f605742ce52cc (diff) | |
download | cpython-b9bdfc6a230f846a1cd1c681def83cf04d357587.zip cpython-b9bdfc6a230f846a1cd1c681def83cf04d357587.tar.gz cpython-b9bdfc6a230f846a1cd1c681def83cf04d357587.tar.bz2 |
Document 1.5.2+ aspects of the NotANumber exception. (Note that this
is in the development branch, not the maintenance branch!)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libfpformat.tex | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/lib/libfpformat.tex b/Doc/lib/libfpformat.tex index 94e434c..c67d834 100644 --- a/Doc/lib/libfpformat.tex +++ b/Doc/lib/libfpformat.tex @@ -38,8 +38,11 @@ Return value is a string. \end{funcdesc} \begin{excdesc}{NotANumber} -Exception raised when a string does not look like a number when the -documentation says it should. +Exception raised when a string passed to \function{fix()} or +\function{sci()} as the \var{x} parameter does not look like a number. +This is a subclass of \exception{ValueError} when the standard +exceptions are strings. The exception value is the improperly +formatted string that caused the exception to be raised. \end{excdesc} Example: |