forked from syndicate-lang/preserves
10 lines
151 B
Python
10 lines
151 B
Python
|
try:
|
||
|
basestring_ = basestring
|
||
|
except NameError:
|
||
|
basestring_ = str
|
||
|
|
||
|
if isinstance(chr(123), bytes):
|
||
|
ord_ = ord
|
||
|
else:
|
||
|
ord_ = lambda x: x
|