Logo Search packages:      
Sourcecode: wapiti version File versions  Download package

def BeautifulSoup::BeautifulStoneSoup::__getattr__ (   self,
  methodName 
) [inherited]

This method routes method call requests to either the SGMLParser
superclass or the Tag superclass, depending on the method name.

Definition at line 1005 of file BeautifulSoup.py.

01005                                      :
        """This method routes method call requests to either the SGMLParser
        superclass or the Tag superclass, depending on the method name."""
        #print "__getattr__ called on %s.%s" % (self.__class__, methodName)

        if methodName.find('start_') == 0 or methodName.find('end_') == 0 \
               or methodName.find('do_') == 0:
            return SGMLParser.__getattr__(self, methodName)
        elif methodName.find('__') != 0:
            return Tag.__getattr__(self, methodName)
        else:
            raise AttributeError

    def isSelfClosingTag(self, name):


Generated by  Doxygen 1.6.0   Back to index