}'IdZddlZddlmZddlmZeZejZ Gdde Z Gddee eZ dgZ dS) a A dict subclass for Python 2 that behaves like Python 3's dict Example use: >>> from builtins import dict >>> d1 = dict() # instead of {} for an empty dict >>> d2 = dict(key1='value1', key2='value2') The keys, values and items methods now return iterators on Python 2.x (with set-like behaviour on Python 2.7). >>> for d in (d1, d2): ... assert not isinstance(d.keys(), list) ... assert not isinstance(d.values(), list) ... assert not isinstance(d.items(), list) N)with_metaclass) newobjectceZdZdZdS) BaseNewDictcl|tkrt|tSt|j|S)N)newdict isinstance _builtin_dict issubclass __class__)clsinstances f/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/future/types/newdict.py__instancecheck__zBaseNewDict.__instancecheck__s. '>>h 66 6h0#66 6N)__name__ __module__ __qualname__rrrrrs#77777rrceZdZdZedkrn1edkrejZejZ ej Z nej Zej Z ejZ fdZdZxZS)rz7 A backport of the Python 3 dict object to Py2 ))cFtt|j|g|RS)a dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) )superr__new__)r argskwargsr s rrznewdict.__new__6s*+uWc""*366666rc t|S)z= Hook for the future.utils.native() function )dict)selfs r __native__znewdict.__native__EsDzzr)rrr__doc__verr viewitemsitemsviewkeyskeys viewvaluesvalues iteritemsiterkeys itervaluesrr" __classcell__)r s@rrr%s d{{ }} 7 7 7 7 7rr)r#sys future.utilsrfuture.types.newobjectrr r version_infor$typerr__all__rrrr5s$ '''''',,,,,,  77777$777$$$$$nn[-88$$$N +r