Rename util.u to util.compat_str

This commit is contained in:
Philipp Hagemeister 2012-11-27 23:29:18 +01:00
parent c116339ddb
commit 96731798db
3 changed files with 61 additions and 61 deletions

View file

@ -27,9 +27,9 @@ std_headers = {
}
try:
u = unicode # Python 2
compat_str = unicode # Python 2
except NameError:
u = str
compat_str = str
def preferredencoding():
"""Get preferred encoding.