[docs] [issue34601] Typo: "which would rather raise MemoryError than give up", than or then?

David Lin report at bugs.python.org
Fri Sep 7 02:35:02 EDT 2018


New submission from David Lin <david.dl.lin at 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 at python
components: Documentation
messages: 324720
nosy: davidlin, docs at 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 <report at bugs.python.org>
<https://bugs.python.org/issue34601>
_______________________________________


More information about the docs mailing list