cetus/dumpbinlog-tool/pymysqlreplication/_compat.py
2019-02-21 15:39:58 +08:00

8 lines
91 B
Python

import sys
if sys.version_info > (3,):
text_type = str
else:
text_type = unicode