]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-97982: Remove asciilib_count() (#98164)
authorVictor Stinner <vstinner@python.org>
Tue, 11 Oct 2022 15:59:58 +0000 (17:59 +0200)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2022 15:59:58 +0000 (17:59 +0200)
commitdf3a6d9beb8a7a3fe87a6d4126384fd3e0213853
treeddc5781df401521d304639fb41e4530f48f8a8b7
parent7ec2e279fea3b340f642cff888bfa45368f5ded0
gh-97982: Remove asciilib_count() (#98164)

asciilib_count() is the same than ucs1lib_count(): the code is not
specialized for ASCII strings, so it's not worth it to have a
separated function. Remove asciilib_count() function.
Objects/stringlib/count.h
Objects/unicodeobject.c