Mercurial > hgrepos > Python > libs > ConfigMix
view configmix/compat.py @ 13:24ba462b9b4b
Return the `default' argument when the given `user' argument is `None' and when it is the first call on merge
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Wed, 09 Mar 2016 11:43:18 +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
