summaryrefslogtreecommitdiffstats
path: root/Python/clinic/Python-tokenize.c.h
diff options
context:
space:
mode:
authorErlend E. Aasland <erlend@python.org>2024-04-03 15:59:18 (GMT)
committerGitHub <noreply@github.com>2024-04-03 15:59:18 (GMT)
commit7ecd55d604a8fa287c1d131cac14d10260be826b (patch)
treea8721273e64712418b9714b45c5d6b766e813b2e /Python/clinic/Python-tokenize.c.h
parent345194de8cb3ceaa40d19353d30ba6e23b6e6edb (diff)
downloadcpython-7ecd55d604a8fa287c1d131cac14d10260be826b.zip
cpython-7ecd55d604a8fa287c1d131cac14d10260be826b.tar.gz
cpython-7ecd55d604a8fa287c1d131cac14d10260be826b.tar.bz2
gh-117431: Adapt str.find and friends to Argument Clinic (#117468)
This change gives a significant speedup, as the METH_FASTCALL calling convention is now used. The following methods are adapted: - str.count - str.find - str.index - str.rfind - str.rindex
Diffstat (limited to 'Python/clinic/Python-tokenize.c.h')
0 files changed, 0 insertions, 0 deletions