diff genshi/output.py @ 822:70fddd2262f5 trunk

Get rid of some Python 2.3 legacy that's no longer needed now that 2.4 is the baseline.
author cmlenz
date Wed, 11 Mar 2009 22:14:32 +0000
parents 52219748e5c1
children 6e46513e1c5c
line wrap: on
line diff
--- a/genshi/output.py
+++ b/genshi/output.py
@@ -129,6 +129,7 @@
     )
     SVG = SVG_FULL
 
+    @classmethod
     def get(cls, name):
         """Return the ``(name, pubid, sysid)`` tuple of the ``DOCTYPE``
         declaration for the specified name.
@@ -164,7 +165,6 @@
             'svg-basic': cls.SVG_BASIC,
             'svg-tiny': cls.SVG_TINY
         }.get(name.lower())
-    get = classmethod(get)
 
 
 class XMLSerializer(object):
Copyright (C) 2012-2017 Edgewall Software