Home | History | Annotate | Download | only in thirdparty

Lines Matching refs:hasattr

133         if hasattr(replaceWith, 'parent') and replaceWith.parent == self.parent:
176 while hasattr(lastChild, 'contents') and lastChild.contents:
187 if hasattr(newChild, 'parent') and newChild.parent != None:
603 if not hasattr(other, 'name') or not hasattr(other, 'attrs') or not hasattr(other, 'contents') or self.name != other.name or self.attrs != other.attrs or len(self) != len(other):
885 if hasattr(markupAttrs, 'get'):
943 if hasattr(matchAgainst, 'match'):
949 elif hasattr(matchAgainst, 'items'):
973 return ((hasattr(l, '__iter__') and not isString(l))
990 if hasattr(portion, 'items'):
1225 if hasattr(markup, 'read'): # It's a file-type object.
1240 if not hasattr(self, 'originalEncoding'):