python-feedgen/compat.py

9 lines
139 B
Python
Raw Normal View History

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