Redundant isinstance() check

This commit is contained in:
Kovid Goyal 2016-04-11 15:42:57 +05:30
parent cfbec65804
commit fdfed12489

View File

@ -37,7 +37,6 @@ class StyleDeclaration(object):
def __iter__(self):
dec = self.css_declaration
for p in all_properties(dec):
if isinstance(p, Property):
n = normalizers.get(p.name)
if n is None:
yield p, None