Fix typos in the Objects directory (GH-28766)

This commit is contained in:
Christian Clauss 2021-10-07 01:57:10 +02:00 • committed by GitHub
parent db72e58ea5
commit 5f401f1040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 14 additions and 14 deletions

View file

@ -382,7 +382,7 @@ things we don't have:
extension on most platforms, but not all, and there's no uniform spelling
on the platforms that support it.
- Integer divison on an integer type twice as wide as needed to hold the
- Integer division on an integer type twice as wide as needed to hold the
list length. But the latter is Py_ssize_t for us, and is typically the
widest native signed integer type the platform supports.
@ -797,6 +797,6 @@ OPTIMIZATION OF INDIVIDUAL COMPARISONS
As noted above, even the simplest Python comparison triggers a large pile of
C-level pointer dereferences, conditionals, and function calls. This can be
partially mitigated by pre-scanning the data to determine whether the data is
homogenous with respect to type. If so, it is sometimes possible to
homogeneous with respect to type. If so, it is sometimes possible to
substitute faster type-specific comparisons for the slower, generic
PyObject_RichCompareBool.