Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a518f0 + b6d1f48 commit 69e3dbcCopy full SHA for 69e3dbc
1 file changed
Doc/library/exceptions.rst
@@ -274,9 +274,10 @@ The following exceptions are the exceptions that are usually raised.
274
275
Raised when the result of an arithmetic operation is too large to be
276
represented. This cannot occur for integers (which would rather raise
277
- :exc:`MemoryError` than give up). Because of the lack of standardization of
278
- floating point exception handling in C, most floating point operations also
279
- aren't checked.
+ :exc:`MemoryError` than give up). However, for historical reasons,
+ OverflowError is sometimes raised for integers that are outside a required
+ range. Because of the lack of standardization of floating point exception
280
+ handling in C, most floating point operations are not checked.
281
282
283
.. exception:: ReferenceError
0 commit comments