diff options
| author | Martin Panter <vadmium+py@gmail.com> | 2016-05-30 04:04:50 (GMT) |
|---|---|---|
| committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-30 04:04:50 (GMT) |
| commit | 200a6157745fba7a658da53d9c8a7b85a900d565 (patch) | |
| tree | 6027ac683c43a9d61229227a0d65649c195308c5 /Objects | |
| parent | f50417b72fa1fe34322563747a66946170525eaf (diff) | |
| download | cpython-200a6157745fba7a658da53d9c8a7b85a900d565.zip cpython-200a6157745fba7a658da53d9c8a7b85a900d565.tar.gz cpython-200a6157745fba7a658da53d9c8a7b85a900d565.tar.bz2 | |
Issue #27125: Remove duplicated words from documentation and comments
Diffstat (limited to 'Objects')
| -rw-r--r-- | Objects/setobject.c | 2 | ||||
| -rw-r--r-- | Objects/stringobject.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index 3958a6c..b3ca643 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -784,7 +784,7 @@ frozenset_hash(PyObject *self) hash *= PySet_GET_SIZE(self) + 1; while (set_next(so, &pos, &entry)) { /* Work to increase the bit dispersion for closely spaced hash - values. The is important because some use cases have many + values. This is important because some use cases have many combinations of a small number of elements with nearby hashes so that many distinct combinations collapse to only a handful of distinct hash values. */ diff --git a/Objects/stringobject.c b/Objects/stringobject.c index e19df6e..f2db6da 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -35,7 +35,7 @@ static PyObject *interned; For PyString_FromString(), the parameter `str' points to a null-terminated string containing exactly `size' bytes. - For PyString_FromStringAndSize(), the parameter the parameter `str' is + For PyString_FromStringAndSize(), the parameter `str' is either NULL or else points to a string containing at least `size' bytes. For PyString_FromStringAndSize(), the string in the `str' parameter does not have to be null-terminated. (Therefore it is safe to construct a |
