summaryrefslogtreecommitdiff
path: root/pygments/style.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/style.py')
-rw-r--r--pygments/style.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/style.py b/pygments/style.py
index d1c2b4eb..07ea9746 100644
--- a/pygments/style.py
+++ b/pygments/style.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
pygments.style
- ~~~~~~~~~~~~~
+ ~~~~~~~~~~~~~~
Basic style object.
@@ -17,7 +17,7 @@ class StyleMeta(type):
def __new__(mcs, name, bases, dct):
obj = type.__new__(mcs, name, bases, dct)
for token in STANDARD_TYPES:
- if not token in obj.styles:
+ if token not in obj.styles:
obj.styles[token] = ''
def colorformat(text):