diff options
author | Matth?us G. Chajdas <dev@anteru.net> | 2019-07-20 12:01:37 +0200 |
---|---|---|
committer | Matth?us G. Chajdas <dev@anteru.net> | 2019-07-20 12:01:37 +0200 |
commit | f1c65ef22ab1a288b4604d7080b663d99180ab47 (patch) | |
tree | d6bf9bacd1d97b9ee750c64dd3919288597cdaac | |
parent | 35997d04fff71e0e6c3f0bb5feca8fb5e36c70bc (diff) | |
download | pygments-git-f1c65ef22ab1a288b4604d7080b663d99180ab47.tar.gz |
Fix some typos in comments.
-rw-r--r-- | pygments/formatters/rtf.py | 4 |
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'' |