view configmix/compat.py @ 6:caaaddb11db1

Evaluating Python configuration files
author Franz Glasner <hg@dom66.de>
date Wed, 09 Mar 2016 00:51:46 +0100
parents dc058099a4cb
children 0b1292e920af
line wrap: on
line source

# -*- coding: utf-8 -*-
r"""Some minimal compatibility between Python2 and Python3

"""

import sys


__all__ = []


PY2 = sys.version_info[0] <= 2