diff options
Diffstat (limited to 'pygments/style.py')
-rw-r--r-- | pygments/style.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/style.py b/pygments/style.py index 07ea9746..caf6ca00 100644 --- a/pygments/style.py +++ b/pygments/style.py @@ -82,7 +82,7 @@ class StyleMeta(type): } def list_styles(cls): - return list(self) + return list(cls) def __iter__(cls): for token in cls._styles: |