summaryrefslogtreecommitdiff
path: root/doc/docs
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2020-09-05 21:12:04 +0200
committerGeorg Brandl <georg@python.org>2020-09-06 20:16:01 +0200
commit5d5e3716e34f57477941a347ee1e6d3d3c78502f (patch)
tree314f89fe86fa5ef7d3e41600018634b8d15bf752 /doc/docs
parent0feeea127e98e19e0601af6768c50ebc29b35897 (diff)
downloadpygments-git-5d5e3716e34f57477941a347ee1e6d3d3c78502f.tar.gz
all: use argumentless super()
Diffstat (limited to 'doc/docs')
-rw-r--r--doc/docs/lexerdevelopment.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/docs/lexerdevelopment.rst b/doc/docs/lexerdevelopment.rst
index 27e5300e..824e0c59 100644
--- a/doc/docs/lexerdevelopment.rst
+++ b/doc/docs/lexerdevelopment.rst
@@ -563,7 +563,7 @@ appropriate positions. ::
class HtmlPhpLexer(DelegatingLexer):
def __init__(self, **options):
- super(HtmlPhpLexer, self).__init__(HtmlLexer, PhpLexer, **options)
+ super().__init__(HtmlLexer, PhpLexer, **options)
This procedure ensures that e.g. HTML with template tags in it is highlighted
correctly even if the template tags are put into HTML tags or attributes.