CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
BeautifulSoup.ProcessingInstruction Class Reference
Inheritance diagram for BeautifulSoup.ProcessingInstruction:
BeautifulSoup.NavigableString BeautifulSoup.PageElement

Public Member Functions

def __str__
 
- Public Member Functions inherited from BeautifulSoup.NavigableString
def __getattr__
 
def __getnewargs__
 
def __new__
 
def __str__
 
def __unicode__
 

Detailed Description

Definition at line 491 of file BeautifulSoup.py.

Member Function Documentation

def BeautifulSoup.ProcessingInstruction.__str__ (   self,
  encoding = DEFAULT_OUTPUT_ENCODING 
)

Definition at line 492 of file BeautifulSoup.py.

Referenced by edmStreamStallGrapher.Point.__repr__(), BeautifulSoup.Tag.__repr__(), BeautifulSoup.Tag.__unicode__(), and BeautifulSoup.Tag.prettify().

493  def __str__(self, encoding=DEFAULT_OUTPUT_ENCODING):
494  output = self
495  if "%SOUP-ENCODING%" in output:
496  output = self.substituteEncoding(output, encoding)
497  return "<?%s?>" % self.toEncoding(output, encoding)