Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b9bdfc6

Browse files
committed
Document 1.5.2+ aspects of the NotANumber exception. (Note that this
is in the development branch, not the maintenance branch!)
1 parent 89ab163 commit b9bdfc6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Doc/lib/libfpformat.tex

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ \section{\module{fpformat} ---
3838
\end{funcdesc}
3939

4040
\begin{excdesc}{NotANumber}
41-
Exception raised when a string does not look like a number when the
42-
documentation says it should.
41+
Exception raised when a string passed to \function{fix()} or
42+
\function{sci()} as the \var{x} parameter does not look like a number.
43+
This is a subclass of \exception{ValueError} when the standard
44+
exceptions are strings. The exception value is the improperly
45+
formatted string that caused the exception to be raised.
4346
\end{excdesc}
4447

4548
Example:

0 commit comments

Comments
 (0)