Mercurial > hgrepos > Python > libs > ConfigMix
view mixconfig/compat.py @ 3:bedc4f95b9e9
Use a YAML constructor that automatically creates OrderedDict objects when an OrderedDict implementation is available
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Tue, 08 Mar 2016 16:25:36 +0100 |
| parents | 9981a68040b6 |
| children |
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
