

def shouldPreserveSpace(self):
    for edx in xrange(len(self.elementstack)):
        el = self.elementstack[(- edx)]
        if ((el.tagName == 'pre') or (el.getAttribute('xml:space', '') == 'preserve')):
            return 1
    return 0

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/microdom.py MicroDOMParser.shouldPreserveSpace/original