diff hgext/shelve.py @ 25674:5d0847cd1587

demandimport: support importing builtins for Python 3 __builtin__ was renamed to builtins in Python 3. If importing __builtin__ fails, fall back to importing builtins in order to support Python 3.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 27 Jun 2015 17:31:06 -0700
parents 328739ea70c3
children 8a6264a2ee60
line wrap: on
line diff