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

Skip to content

Commit 69e3dbc

Browse files
committed
Merge with 3.4
2 parents 4a518f0 + b6d1f48 commit 69e3dbc

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Doc/library/exceptions.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,10 @@ The following exceptions are the exceptions that are usually raised.
274274

275275
Raised when the result of an arithmetic operation is too large to be
276276
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.
277+
:exc:`MemoryError` than give up). However, for historical reasons,
278+
OverflowError is sometimes raised for integers that are outside a required
279+
range. Because of the lack of standardization of floating point exception
280+
handling in C, most floating point operations are not checked.
280281

281282

282283
.. exception:: ReferenceError

0 commit comments

Comments
 (0)