diff options
author | Fred Drake <fdrake@acm.org> | 1999-06-29 15:49:35 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-06-29 15:49:35 +0000 |
commit | b8690fbc951fd937b2c3306da374e0f2d45088a6 (patch) | |
tree | 247ac700e8d0103a36e808017b60e31275f6b388 /Python/getplatform.c | |
parent | 9e0b6229f64fed74720f86a1d774824f20d46f24 (diff) | |
download | cpython-git-b8690fbc951fd937b2c3306da374e0f2d45088a6.tar.gz |
Define NotANumber as a subclass of ValueError when using class-based
exceptions.
When raising NotANumber, pass the string that failed as the exception
value.
Diffstat (limited to 'Python/getplatform.c')
0 files changed, 0 insertions, 0 deletions