Skip to content

Commit 251f77b

Browse files
committed
Rename function
1 parent 2fab99b commit 251f77b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Objects/stringlib/fastsearch.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,8 @@ STRINGLIB(count_char)(const STRINGLIB_CHAR *s, Py_ssize_t n,
754754

755755

756756
static inline Py_ssize_t
757-
STRINGLIB(count_char_no_maximum)(const STRINGLIB_CHAR *s, Py_ssize_t n,
758-
const STRINGLIB_CHAR p0)
757+
STRINGLIB(count_char_no_maxcount)(const STRINGLIB_CHAR *s, Py_ssize_t n,
758+
const STRINGLIB_CHAR p0)
759759
/* A specialized function of count_char that does not cut off at a maximum.
760760
As a result, the compiler is able to vectorize the loop. */
761761
{

0 commit comments

Comments
 (0)