This commit is contained in:
Kovid Goyal 2013-09-05 16:31:25 +05:30
parent 8e009161b1
commit 9c4c9cf07f

View File

@ -848,7 +848,7 @@ class Style(object):
self._get('padding-bottom'), base=self.height) self._get('padding-bottom'), base=self.height)
def __str__(self): def __str__(self):
items = sorted(self._style.items()) items = sorted(self._style.iteritems())
return '; '.join("%s: %s" % (key, val) for key, val in items) return '; '.join("%s: %s" % (key, val) for key, val in items)
def cssdict(self): def cssdict(self):