MCPcopy
hub / github.com/csev/py4e / __unicode__

Method __unicode__

old/old-code/BeautifulSoup.py:450–451  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

448 raise AttributeError, "'%s' object has no attribute '%s'" % (self.__class__.__name__, attr)
449
450 def __unicode__(self):
451 return str(self).decode(DEFAULT_OUTPUT_ENCODING)
452
453 def __str__(self, encoding=DEFAULT_OUTPUT_ENCODING):
454 if encoding:

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected