Remove superfluous encodings
This commit is contained in:
parent
8cd10ac4ef
commit
e6137fd61d
2 changed files with 7 additions and 6 deletions
|
@ -87,6 +87,7 @@ if sys.version_info < (3,0):
|
|||
print(s.encode(preferredencoding(), 'xmlcharrefreplace'))
|
||||
else:
|
||||
def compat_print(s):
|
||||
assert type(s) == type(u'')
|
||||
print(s)
|
||||
|
||||
def htmlentity_transform(matchobj):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue