diff options
| author | Georg Brandl <georg@python.org> | 2020-09-05 21:12:04 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2020-09-06 20:16:01 +0200 |
| commit | 5d5e3716e34f57477941a347ee1e6d3d3c78502f (patch) | |
| tree | 314f89fe86fa5ef7d3e41600018634b8d15bf752 /doc/docs | |
| parent | 0feeea127e98e19e0601af6768c50ebc29b35897 (diff) | |
| download | pygments-git-5d5e3716e34f57477941a347ee1e6d3d3c78502f.tar.gz | |
all: use argumentless super()
Diffstat (limited to 'doc/docs')
| -rw-r--r-- | doc/docs/lexerdevelopment.rst | 2 |
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. |
