[Python-checkins] (no subject)

Stéphane Wirtel webhook-mailer at python.org
Wed Sep 11 08:43:33 EDT 2019


To: python-checkins at python.org
Subject: Doc: Fix typo in fastsearch comments (GH-14608)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
https://github.com/python/cpython/commit/60bba83b5d9947fb3106325293e3a4e9c9cd=
ea7e
commit: 60bba83b5d9947fb3106325293e3a4e9c9cdea7e
branch: master
author: Valentin Haenel <esc at users.noreply.github.com>
committer: St=C3=A9phane Wirtel <stephane at wirtel.be>
date: 2019年09月11日T14:43:29+02:00
summary:
Doc: Fix typo in fastsearch comments (GH-14608)
files:
M Objects/stringlib/fastsearch.h
diff --git a/Objects/stringlib/fastsearch.h b/Objects/stringlib/fastsearch.h
index 46fcf356d0d0..56a4467d3538 100644
--- a/Objects/stringlib/fastsearch.h
+++ b/Objects/stringlib/fastsearch.h
@@ -52,7 +52,7 @@ STRINGLIB(find_char)(const STRINGLIB_CHAR* s, Py_ssize_t n,=
 STRINGLIB_CHAR ch)
 return (p - s);
 return -1;
 #else
- /* use memchr if we can choose a needle without two many likely
+ /* use memchr if we can choose a needle without too many likely
 false positives */
 const STRINGLIB_CHAR *s1, *e1;
 unsigned char needle =3D ch & 0xff;
@@ -111,7 +111,7 @@ STRINGLIB(rfind_char)(const STRINGLIB_CHAR* s, Py_ssize_t=
 n, STRINGLIB_CHAR ch)
 return (p - s);
 return -1;
 #else
- /* use memrchr if we can choose a needle without two many likely
+ /* use memrchr if we can choose a needle without too many likely
 false positives */
 const STRINGLIB_CHAR *s1;
 Py_ssize_t n1;


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /