summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatth?us G. Chajdas <dev@anteru.net>2019-07-20 12:01:37 +0200
committerMatth?us G. Chajdas <dev@anteru.net>2019-07-20 12:01:37 +0200
commit3d51447a9c1e75933ced7fd1ebf5c6c60676366d (patch)
treef778ed567f394870a177506d260c4c3d51b4146e
parent920e7ec9b50d2c509c36f16df509a10255024a5b (diff)
downloadpygments-3d51447a9c1e75933ced7fd1ebf5c6c60676366d.tar.gz
Fix some typos in comments.
-rw-r--r--pygments/formatters/rtf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/formatters/rtf.py b/pygments/formatters/rtf.py
index 0dae6aab..1246db2a 100644
--- a/pygments/formatters/rtf.py
+++ b/pygments/formatters/rtf.py
@@ -35,7 +35,7 @@ class RtfFormatter(Formatter):
``'default'``).
`fontface`
- The used font famliy, for example ``Bitstream Vera Sans``. Defaults to
+ The used font family, for example ``Bitstream Vera Sans``. Defaults to
some generic font which is supposed to have fixed width.
`fontsize`
@@ -70,7 +70,7 @@ class RtfFormatter(Formatter):
.replace(u'}', u'\\}')
def _escape_text(self, text):
- # empty strings, should give a small performance improvment
+ # empty strings, should give a small performance improvement
if not text:
return u''