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

def BeautifulSoup::isString (   s  ) 

Convenience method that works with all 2.x versions of Python
to determine whether or not something is stringlike.

Definition at line 856 of file BeautifulSoup.py.

00856                :
    """Convenience method that works with all 2.x versions of Python
    to determine whether or not something is stringlike."""
    try:
        return isinstance(s, unicode) or isintance(s, basestring) 
    except NameError:
        return isinstance(s, str)

def buildTagMap(default, *args):


Generated by  Doxygen 1.6.0   Back to index