diff options
Diffstat (limited to 'pygments')
-rw-r--r-- | pygments/formatter.py | 2 | ||||
-rw-r--r-- | pygments/formatters/bbcode.py | 2 | ||||
-rw-r--r-- | pygments/lexer.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pygments/formatter.py b/pygments/formatter.py index 4082150b..fe7ccc97 100644 --- a/pygments/formatter.py +++ b/pygments/formatter.py @@ -48,7 +48,7 @@ class Formatter(object): self.style = _lookup_style(options.get('style', 'default')) self.full = get_bool_opt(options, 'full', False) self.title = options.get('title', '') - self.encoding = options.get('encoding', 'latin1') + self.encoding = options.get('encoding', 'latin1') self.options = options def get_style_defs(self, arg=''): diff --git a/pygments/formatters/bbcode.py b/pygments/formatters/bbcode.py index a8663ea9..813e0d4c 100644 --- a/pygments/formatters/bbcode.py +++ b/pygments/formatters/bbcode.py @@ -44,7 +44,7 @@ class BBCodeFormatter(Formatter): self._code = get_bool_opt(options, 'codetag', False) self._mono = get_bool_opt(options, 'monofont', False) - self.styles = {} + self.styles = {} self._make_styles() def _make_styles(self): diff --git a/pygments/lexer.py b/pygments/lexer.py index e19526b8..d3a05f0b 100644 --- a/pygments/lexer.py +++ b/pygments/lexer.py @@ -53,7 +53,7 @@ class Lexer(object): ``encoding`` If given, must be an encoding name. This encoding will be used to convert the input string to Unicode, if it is not already a Unicode - string. The default is to use latin1 (default: 'latin1'). + string. The default is to use latin1 (default: 'latin1'). """ #: Name of the lexer |