fix method call
This commit is contained in:
parent
674cd62ae6
commit
88f8b968e6
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ class NavigableString(unicode, PageElement):
|
||||||
raise AttributeError, "'%s' object has no attribute '%s'" % (self.__class__.__name__, attr)
|
raise AttributeError, "'%s' object has no attribute '%s'" % (self.__class__.__name__, attr)
|
||||||
|
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
return __str__(self, None)
|
return self.__str__(None)
|
||||||
|
|
||||||
def __str__(self, encoding=DEFAULT_OUTPUT_ENCODING):
|
def __str__(self, encoding=DEFAULT_OUTPUT_ENCODING):
|
||||||
if encoding:
|
if encoding:
|
||||||
|
|
Loading…
Add table
Reference in a new issue