-=[ Mr. Bumblebee ]=-
_Indonesia_

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

ó
î:ïNc@@s“dZddlmZddlmZyddlmZWn@ek
r|Zddlm	Z	e	j
eƒddlmZnXd„Zd„Z
dS(	s1Interface thunk for a StaticTuple implementation.i(tabsolute_import(tdebug(tStaticTuple(tosutilscC@sNdtjkrtj|ƒSt|ƒtk	rJtdt|ƒfƒ‚n|S(s	Check if the passed object is a StaticTuple.

    Cast it if necessary, but if the 'static_tuple' debug flag is set, raise an
    error instead.

    As apis are improved, we will probably eventually stop calling this as it
    adds overhead we shouldn't need.
    tstatic_tuples"We expected a StaticTuple not a %s(Rtdebug_flagsRt
from_sequencettypet	TypeError(tobj((s7/usr/lib/python2.7/dist-packages/bzrlib/static_tuple.pytexpect_static_tuples
	
cC@sUg}xB|D]:}t|tttfƒr:t|ƒ}n|j|ƒq
Wt|ƒS(sÀEnsure that the object and any referenced objects are plain tuples.

    :param obj: a list, tuple or StaticTuple
    :return: a plain tuple instance, with all children also being tuples.
    (t
isinstancettupletlistRt	as_tuplestappend(R	tresulttitem((s7/usr/lib/python2.7/dist-packages/bzrlib/static_tuple.pyR/s
N(t__doc__t
__future__RtbzrlibRtbzrlib._static_tuple_cRtImportErrorteRtfailed_to_load_extensiontbzrlib._static_tuple_pyR
R(((s7/usr/lib/python2.7/dist-packages/bzrlib/static_tuple.pyt<module>s
	

Copyright © 2017 || Recoded By Mr.Bumblebee