9 lines
139 B
Python
9 lines
139 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
import sys
|
||
|
|
||
|
if sys.version_info[0] >= 3:
|
||
|
string_types = str
|
||
|
else:
|
||
|
string_types = basestring # noqa: F821
|