

def __repr__(self):
    rep = ('Element(%s' % repr(self.nodeName))
    if self.attributes:
        rep += (', attributes=%r' % (self.attributes,))
    if self._filename:
        rep += (', filename=%r' % (self._filename,))
    if self._markpos:
        rep += (', markpos=%r' % (self._markpos,))
    return (rep + ')')

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/microdom.py Element.__repr__/original