python-feedgen/feedgen/compat.py

8 lines
118 B
Python
Raw Permalink Normal View History

2015-04-24 14:43:29 +02:00
# -*- coding: utf-8 -*-
import sys
if sys.version_info[0] >= 3:
string_types = str
else:
string_types = basestring