Removed superfluous super() arguments.
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 15 Sep 2013 22:42:19 +0000 (00:42 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 15 Sep 2013 22:42:19 +0000 (00:42 +0200)
wrw/sp/xhtml.py

index 50c70b6..36b9d60 100644 (file)
@@ -41,7 +41,7 @@ class htmlformatter(util.formatter):
     allowshort = set(["br", "hr", "img", "input", "meta", "link"])
     def element(self, el, **extra):
         if el.name in self.allowshort:
-            super(htmlformatter, self).element(el, **extra)
+            super().element(el, **extra)
         else:
             self.longtag(el, **extra)