python-feedgen/feedgen/compat.py
2015-04-24 21:43:29 +09:00

7 lines
118 B
Python

# -*- coding: utf-8 -*-
import sys
if sys.version_info[0] >= 3:
string_types = str
else:
string_types = basestring