-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/lib/python2.7/dist-packages/bzrlib/
File Upload :
Current File : //usr/lib/python2.7/dist-packages/bzrlib/inspect_for_copy.pyc

ó
î:ïNc@@s5dZddlmZd„Zd„Zd„ZdS(s˜A version of inspect that includes what 'copy' needs.

Importing the python standard module 'copy' is far more expensive than it
needs to be, because copy imports 'inspect' which imports 'tokenize'.
And 'copy' only needs 2 small functions out of 'inspect', but has to
load all of 'tokenize', which makes it horribly slow.

This module is designed to use tricky hacks in import rules, to avoid this
overhead.
i(tabsolute_importcC@sB||krdS|j|ƒx|jD]}t||ƒq'WdS(N(tappendt	__bases__t_searchbases(tclstaccumtbase((s;/usr/lib/python2.7/dist-packages/bzrlib/inspect_for_copy.pyR&s

cC@s7t|dƒr|jSg}t||ƒt|ƒSdS(sHReturn tuple of base classes (including cls) in method resolution order.t__mro__N(thasattrRRttuple(Rtresult((s;/usr/lib/python2.7/dist-packages/bzrlib/inspect_for_copy.pytgetmro/s

cC@sxddl}d|jkr+ddl}dStdtƒtƒdgƒ}||jd<zddl}Wd|jd=XdS(s7Import the 'copy' module with a hacked 'inspect' moduleiNtinspectsbzrlib.inspect_for_copyR(tsystmodulestcopyt
__import__tglobalstlocals(R
Rtmod((s;/usr/lib/python2.7/dist-packages/bzrlib/inspect_for_copy.pytimport_copy_with_hacked_inspect9s
N(t__doc__t
__future__RRRR(((s;/usr/lib/python2.7/dist-packages/bzrlib/inspect_for_copy.pyt<module>s
			

Copyright © 2017 || Recoded By Mr.Bumblebee