summaryrefslogtreecommitdiffstats
path: root/Doc/tools/rstlint.py
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2022-06-21 19:22:27 (GMT)
committerGitHub <noreply@github.com>2022-06-21 19:22:27 (GMT)
commit49687b005498a9836a7aee086098ce01318a779c (patch)
tree704c93c8cc3e2be27ed42c21ce430be87686f4b4 /Doc/tools/rstlint.py
parent63e127f33d4088e28a470a1db98623d46e59a46a (diff)
downloadcpython-49687b005498a9836a7aee086098ce01318a779c.zip
cpython-49687b005498a9836a7aee086098ce01318a779c.tar.gz
cpython-49687b005498a9836a7aee086098ce01318a779c.tar.bz2
[3.11] gh-93675: Fix typos in `Doc/` (GH-93676) (GH-94079)
Closes GH-93675 (cherry picked from commit 830513754d081619b2d72db17770627312072fa5) Co-authored-by: luzpaz <luzpaz@users.noreply.github.com>
Diffstat (limited to 'Doc/tools/rstlint.py')
-rw-r--r--Doc/tools/rstlint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/rstlint.py b/Doc/tools/rstlint.py
index d1c53dc..4ea68ef 100644
--- a/Doc/tools/rstlint.py
+++ b/Doc/tools/rstlint.py
@@ -130,7 +130,7 @@ role_with_no_backticks = re.compile(r"%s[^` ]" % all_roles)
# Find role glued with another word like:
# the:c:func:`PyThreadState_LeaveTracing` function.
-# instad of:
+# instead of:
# the :c:func:`PyThreadState_LeaveTracing` function.
role_glued_with_word = re.compile(r"[a-zA-Z]%s" % all_roles)