summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Yan <felixonmars@archlinux.org>2020-10-18 06:36:11 +0800
committerGitHub <noreply@github.com>2020-10-18 06:36:11 +0800
commit10335feed7939aafc0dfb29d4f2bfaacc03b1c22 (patch)
tree77c14acc01497e51bc76ea749b7cc7396ab7d0f8
parent0476e1cea93b587e3c0ab295aa20b2b9f0f81a34 (diff)
downloadsphinx-git-10335feed7939aafc0dfb29d4f2bfaacc03b1c22.tar.gz
Correct a typo in texinfo.py
-rw-r--r--sphinx/writers/texinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/writers/texinfo.py b/sphinx/writers/texinfo.py
index 5ad2831dd..a33d3363f 100644
--- a/sphinx/writers/texinfo.py
+++ b/sphinx/writers/texinfo.py
@@ -369,7 +369,7 @@ class TexinfoTranslator(SphinxTranslator):
"""Return an escaped string suitable for use as an argument
to a Texinfo command."""
s = self.escape(s)
- # commas are the argument delimeters
+ # commas are the argument delimiters
s = s.replace(',', '@comma{}')
# normalize white space
s = ' '.join(s.split()).strip()