view configmix/compat.py @ 10:58af59d5af40

A "safe_merge" that makes (shallow) copies instead of directly manipulating given containers
author Franz Glasner <f.glasner@feldmann-mg.com>
date Wed, 09 Mar 2016 11:19:20 +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