Public Member Functions | |
def | __getattr__ |
def | __str__ |
def | __unicode__ |
Definition at line 351 of file BeautifulSoup.py.
def BeautifulSoup.NavigableString.__getattr__ | ( | self, | |
attr | |||
) |
text.string gives you text. This is for backwards compatibility for Navigable*String, but for CData* it lets you get the string without the CData wrapper.
Definition at line 353 of file BeautifulSoup.py.
def BeautifulSoup.NavigableString.__str__ | ( | self, | |
encoding = DEFAULT_OUTPUT_ENCODING |
|||
) |
Reimplemented in BeautifulSoup.Declaration, BeautifulSoup.Comment, BeautifulSoup.ProcessingInstruction, and BeautifulSoup.CData.
Definition at line 365 of file BeautifulSoup.py.
def BeautifulSoup.NavigableString.__unicode__ | ( | self | ) |
Definition at line 362 of file BeautifulSoup.py.