New submission from David Lin <david.dl....@nokia-sbell.com>:

https://docs.python.org/3/library/exceptions.html

exception OverflowError
Raised when the result of an arithmetic operation is too large to be 
represented. This cannot occur for integers (which would rather raise 
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 handling in C, most 
floating point operations are not checked.

In sentence: "which would rather raise MemoryError than give up", should we use 
"then" instead of "than"?

Thanks,
David Lin

----------
assignee: docs@python
components: Documentation
messages: 324720
nosy: davidlin, docs@python
priority: normal
severity: normal
status: open
title: Typo: "which would rather raise MemoryError than give up", than or then?
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34601>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to