shell bypass 403

GrazzMean Shell

: /lib/python2.7/site-packages/ [ drwxr-xr-x ]
Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.222.143.88
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : typing.pyc
�
���cc:@@sNddlmZmZddlZddlmZmZddlZddlZddlZ	ddl
Z
ddlZddlZyddl
jZWnek
r�ddlZnXdddddd	d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=g:Zd>�Zd?�Zd@efdA��YZdBefdC��YZdDefdE��YZdFefdG��YZdHefdI��YZdJ�ZdK�ZdL�ZdM�ZdN�ZdOefdP��YZdQefdR��YZ e dSe!�Z"dTefdU��YZ#dVefdW��YZ$e$dSe!�Z%dX�Z&dYefdZ��YZ'd[efd\��YZ(e(dSe!�Z)d]efd^��YZ*d_efd`��YZ+e+dSe!�Z,daefdb��YZ-dcefdd��YZ.e.dSe!�Z/deefdf��YZ0dgefdh��YZ1e1di�Z2e1dj�Z3e1dk�Z4e1dldme!�Z5e1dndme!�Z6e1dodme!�Z7e1dpdqe!�Z8e1d2e9e:�Z;dr�Z<e=e=ds�Z>dt�Z?du�Z@gZAdv�ZBdwefdx��YZCdyefdz��YZDeDdSe!�ZEd{efd|��YZFd}efd~��YZGeGdSe!�ZHd�ZId��ZJd�eejKfd���YZLd��ZMeMejNeL<e=ZOd��ZPd�efd���YZOd�efd���YZQd�efd���YZRd�eLfd���YZSeMejNeS<d�eTfd���YZUd�eLfd���YZVeMejNeV<d�efd���YZWd��ZXd��ZYe=e=d��ZZd��Z[d��Z\d��Z]d��Z^ddddd dd�d"dg	Z_d�eLfd���YZ`d�efd���YZad��ZbejcZcd�eOe5fd���YZdd�ede5fd���YZeebd�eafd���Y�Zfebd�eafd���Y�Zgebd�eafd���Y�Zhebd�eafd���Y�Ziebd�eae5fd���Y�Zjeked"�r8d�ede5fd���YZln ebd�eae5fd���Y�ZlejmZmd�eOe5fd���YZnd�emede5ene5fd���YZod�eoe2fd���YZpd�emede3ene3eOe3e7ffd���YZqd�eqe3e4ffd���YZreked"�r@d�emele5ene5fd���YZsn$d�emede5ene5fd���YZsd�ese2fd���YZtd�eseufd���YZvevjwex�evjwey�d�ezete2fd���YZ{d�ej|ete2fd���YZ}d�e~epe2fd���YZd�e�eoe5fd���YZ�d�emede5fd���YZ�d�e�e3eoe3fd���YZ�d�e�eUe3e7feoeUe3e7feOe3e7ffd���YZ�d�e�e7fd���YZ�d�eOe5fd���YZ�d�e�ere3e4ffd���YZ�d�ej�ere3e4ffd���YZ�d�ej�e�e2euffd���YZ�eked1�rg
ej�Z�n	ej�Z�d�eee5eOe5e8e6ffd���YZ�e1d�dme!d�e�Z�d�eOe�fd���YZ�d��Z�d��Z�d��Z�e=d��Z�d�efd���YZ�e�d�e�fi�Z�e�e�_�d�e�_�d��Z�e:Z�e�Z�d�eOe;fd���YZ�d�e�e9fd���YZ�d�e�e:fd���YZ�d�efd���YZ�e�d�e�_�e�e
j�e�j�<ed�e;ee	j�d���d���Z�ed�e;ee	j�d�d���d���Z�d�efd���YZe�d�e_�ee
j�ej�<dS(�i(tabsolute_importtunicode_literalsN(tabstractmethodtabstractpropertyuAnyuCallableuClassVaruFinaluGenericuLiteraluOptionaluProtocoluTupleuTypeuTypeVaruUnionuAbstractSetuGenericMetau
ByteStringu	ContaineruContextManageruHashableu	ItemsViewuIterableuIteratoruKeysViewuMappinguMappingViewuMutableMappinguMutableSequenceu
MutableSetuSequenceuSizedu
ValuesViewu
ReversibleuSupportsAbsuSupportsComplexu
SupportsFloatu
SupportsIndexuSupportsIntuCounteruDequeuDictuDefaultDictuListuSetu	FrozenSetu
NamedTupleu	TypedDictu	GeneratoruAnyStrucastufinaluget_type_hintsuNewTypeu
no_type_checkuno_type_check_decoratoruNoReturnuoverloaduruntime_checkableuTextu
TYPE_CHECKINGcC@s%tjd dkr|jS|jSdS(Nii(ii(tsystversion_infot__qualname__t__name__(tx((s*/usr/lib/python2.7/site-packages/typing.pyt	_qualname^scC@s2d}|jd�r.||kr.|d}n|S(Nu
_TypeAliasu_ForwardRefu_TypingBaseu_FinalTypingBaseu_i(u
_TypeAliasu_ForwardRefu_TypingBaseu_FinalTypingBase(t
startswith(tnmt	whitelist((s*/usr/lib/python2.7/site-packages/typing.pyt
_trim_namefs
t
TypingMetacB@sPeZdZeZd�Zed��Zd�Zd�Z	d�Z
d�ZRS(u�Metaclass for most types defined in typing module
    (not a part of public API).

    This also defines a dummy constructor (all the work for most typing
    constructs is done in __new__) and a nicer repr().
    cC@s%tt|�j|t|�||�S(N(tsuperRt__new__tstr(tclstnametbasest	namespace((s*/usr/lib/python2.7/site-packages/typing.pyRwscC@sOxH|D]@}t||�rtddjtt|��p=d��qqWdS(NuCannot subclass %su, u()(t
isinstancet	TypeErrortjointmapt
_type_repr(RRtbase((s*/usr/lib/python2.7/site-packages/typing.pytassert_no_subclassingzs
cO@sdS(N((tselftargstkwds((s*/usr/lib/python2.7/site-packages/typing.pyt__init__�scC@s|S(u'Override this in subclasses to interpret forward references.

        For example, List['C'] is internally stored as
        List[_ForwardRef('C')], which should evaluate to List[C],
        where C is an object found in globalns or localns (searching
        localns first, of course).
        ((Rtglobalnstlocalns((s*/usr/lib/python2.7/site-packages/typing.pyt
_eval_type�scC@sdS(N((Rttvars((s*/usr/lib/python2.7/site-packages/typing.pyt_get_type_vars�scC@s#tt|��}d|j|fS(Nu%s.%s(R
R	t
__module__(Rtqname((s*/usr/lib/python2.7/site-packages/typing.pyt__repr__�s(RR&t__doc__tFalset_is_protocolRtclassmethodRR R#R%R((((s*/usr/lib/python2.7/site-packages/typing.pyRms			
	t_TypingBasecB@sPeZdZeZdZd�Zd�Zd�Zd�Z	d�Z
d�ZRS(	u0Internal indicator of special typing constructs.u__weakref__cO@sdS(N((RRR((s*/usr/lib/python2.7/site-packages/typing.pyR �scO@sat|�dkrKt|dt�rKt|dt�rKtd|��ntt|�j|�S(u�Constructor.

        This only exists to give a better error message in case
        someone tries to subclass a special typing object (not a good idea).
        iiiuCannot subclass %r(tlenRRttupleRRR-R(RRR((s*/usr/lib/python2.7/site-packages/typing.pyR�s
cC@s|S(N((RR!R"((s*/usr/lib/python2.7/site-packages/typing.pyR#�scC@sdS(N((RR$((s*/usr/lib/python2.7/site-packages/typing.pyR%�scC@s/t|�}tt|��}d|j|fS(Nu%s.%s(ttypeR
R	R&(RRR'((s*/usr/lib/python2.7/site-packages/typing.pyR(�scO@stdt|���dS(NuCannot instantiate %r(RR0(RRR((s*/usr/lib/python2.7/site-packages/typing.pyt__call__�s(u__weakref__(RR&R)Rt
__metaclass__t	__slots__R RR#R%R(R1(((s*/usr/lib/python2.7/site-packages/typing.pyR-�s					t_FinalTypingBasecB@s&eZdZdZd�Zd�ZRS(u�Internal mix-in class to prevent instantiation.

    Prevents instantiation unless _root=True is given in class call.
    It is used to create pseudo-singleton instances Any, Union, Optional, etc.
    cO@sRtt|�j|||�}d|kr>|dtkr>|Std|��dS(Nu_rootuCannot instantiate %r(RR4RtTrueR(RRRR((s*/usr/lib/python2.7/site-packages/typing.pyR�scC@stt|�j�S(N(R
R0R(R((s*/usr/lib/python2.7/site-packages/typing.pyt
__reduce__�s((RR&R)R3RR6(((s*/usr/lib/python2.7/site-packages/typing.pyR4�s	t_ForwardRefcB@sSeZdZdZd�Zd�Zd�Zd�Zd	�Zd
�Z	d�Z
RS(
u-Internal wrapper to hold a forward reference.u__forward_arg__u__forward_code__u__forward_evaluated__u__forward_value__cC@s�tt|�j|�t|t�s;td|f��nyt|dd�}Wn$tk
rwtd|f��nX||_||_	t
|_d|_
dS(Nu,Forward reference must be a string -- got %ru<string>uevalu1Forward reference must be an expression -- got %r(RR7R Rt
basestringRtcompiletSyntaxErrort__forward_arg__t__forward_code__R*t__forward_evaluated__tNonet__forward_value__(Rtargtcode((s*/usr/lib/python2.7/site-packages/typing.pyR �s
			cC@s�|js||k	r�|dkr;|dkr;i}}n*|dkrP|}n|dkre|}ntt|j||�d�|_t|_n|jS(Nu*Forward references must evaluate to types.(R=R>t_type_checktevalR<R?R5(RR!R"((s*/usr/lib/python2.7/site-packages/typing.pyR#�s
		cC@s5t|t�stS|j|jko4|j|jkS(N(RR7tNotImplementedR;R?(Rtother((s*/usr/lib/python2.7/site-packages/typing.pyt__eq__�scC@st|j|jf�S(N(thashR;R?(R((s*/usr/lib/python2.7/site-packages/typing.pyt__hash__�scC@std��dS(Nu4Forward references cannot be used with isinstance().(R(Rtobj((s*/usr/lib/python2.7/site-packages/typing.pyt__instancecheck__�scC@std��dS(Nu4Forward references cannot be used with issubclass().(R(RR((s*/usr/lib/python2.7/site-packages/typing.pyt__subclasscheck__�scC@sd|jfS(Nu_ForwardRef(%r)(R;(R((s*/usr/lib/python2.7/site-packages/typing.pyR(�s(u__forward_arg__u__forward_code__u__forward_evaluated__u__forward_value__(RR&R)R3R R#RFRHRJRKR((((s*/usr/lib/python2.7/site-packages/typing.pyR7�s						t
_TypeAliascB@sSeZdZdZd�Zd�Zd�Zd�Zd	�Zd
�Z	d�Z
RS(
u:Internal helper class for defining generic variants of concrete types.

    Note that this is not a type; let's call it a pseudo-type.  It cannot
    be used in instance and subclass checks in parameterized form, i.e.
    ``isinstance(42, Match[str])`` raises ``TypeError`` instead of returning
    ``False``.
    unameutype_varu	impl_typeutype_checkercC@s�t|t�s!tt|���t|t�sBtt|���t|t�sdtt|���t|ttf�s�tt|���||_||_||_	||_
dS(utInitializer.

        Args:
            name: The name, e.g. 'Pattern'.
            type_var: The type parameter, e.g. AnyStr, or the
                specific type, e.g. str.
            impl_type: The implementation type.
            type_checker: Function that takes an impl_type instance.
                and returns a value that should be a type_var instance.
        N(RR8tAssertionErrortreprR0RR-Rttype_vart	impl_typettype_checker(RRRORPRQ((s*/usr/lib/python2.7/site-packages/typing.pyR s!!"'			cC@sd|jt|j�fS(Nu%s[%s](RRRO(R((s*/usr/lib/python2.7/site-packages/typing.pyR("scC@s�t|jt�s%td|��n|jjrtt|t�rtt||jj�sttd||jf��qtnt|t�r�||jk	r�td|��n|j|j||j	|j
�S(Nu#%s cannot be further parameterized.u&%s is not a valid substitution for %s.u%s cannot be re-parameterized.(RROtTypeVarRt__constraints__R0t
issubclasst	__class__RRPRQ(Rt	parameter((s*/usr/lib/python2.7/site-packages/typing.pyt__getitem__%scC@s5t|t�stS|j|jko4|j|jkS(N(RRLRDRRO(RRE((s*/usr/lib/python2.7/site-packages/typing.pyRF1scC@st|j|jf�S(N(RGRRO(R((s*/usr/lib/python2.7/site-packages/typing.pyRH6scC@s1t|jt�s!td��nt||j�S(Nu<Parameterized type aliases cannot be used with isinstance().(RRORRRRP(RRI((s*/usr/lib/python2.7/site-packages/typing.pyRJ9scC@s1t|jt�s!td��nt||j�S(Nu<Parameterized type aliases cannot be used with issubclass().(RRORRRRTRP(RR((s*/usr/lib/python2.7/site-packages/typing.pyRK?s(unameutype_varu	impl_typeutype_checker(RR&R)R3R R(RWRFRHRJRK(((s*/usr/lib/python2.7/site-packages/typing.pyRLs						cC@sCx<|D]4}t|t�s+t|t�r|j|�qqWdS(N(RRR-R%(ttypesR$tt((s*/usr/lib/python2.7/site-packages/typing.pyR%Fs
cC@sg}t||�t|�S(N(R%R/(RXR$((s*/usr/lib/python2.7/site-packages/typing.pyt
_type_varsLs
cC@s2t|t�st|t�r.|j||�S|S(N(RRR-R#(RYR!R"((s*/usr/lib/python2.7/site-packages/typing.pyR#RscC@s�|dkrtd�St|t�r4t|�}nt|t�rXt|�jdks{t|ttf�r�t|�r�t|d|f��nt|�jdkr�t	|dd�s�t|t
�r�|jtt
fkr�td|��n|S(	u�Check that the argument is a type, and return it (internal helper).

    As a special case, accept None and return type(None) instead.
    Also, _TypeAlias instances (e.g. Match, Pattern) are acceptable.

    The msg argument is a human-readable error message, e.g.

        "Union[arg, ...]: arg should be a type."

    We append the repr() of the actual value (truncated to 100 chars).
    u	_ClassVaru Got %.100r.u_Unionu	_Optionalu
__origin__u&Plain %s is not valid as type argumentN(u_Unionu	_Optional(R>R0RR8R7R-RtcallableRtgetattrRt_gorgtGenerictProtocol(R@tmsg((s*/usr/lib/python2.7/site-packages/typing.pyRBXs
$#$cC@s�t|t�rOt|t�rO|jdkr8t|�Sd|jt|�fS|tkr_dSt|tj�rx|jSt	|�S(u;Return the repr() of an object, special-casing types (internal helper).

    If obj is a type, we return a shorter version than the default
    type.__repr__, based on the module and qualified name, which is
    typically enough to uniquely identify a type.  For everything
    else, we fall back on repr(obj).
    u__builtin__u%s.%su...(
RR0RR&R	tEllipsisRXtFunctionTypeRRN(RI((s*/usr/lib/python2.7/site-packages/typing.pyRws
tClassVarMetacB@seZdZd�ZRS(uMetaclass for _ClassVarcC@s2|j|�tt|�j||||�}|S(N(RRRcR(RRRRR((s*/usr/lib/python2.7/site-packages/typing.pyR�s
!(RR&R)R(((s*/usr/lib/python2.7/site-packages/typing.pyRc�st	_ClassVarcB@sVeZdZeZdZd	ed�Zd�Z	d�Z
d�Zd�Zd�Z
RS(
uCSpecial type construct to mark class variables.

    An annotation wrapped in ClassVar indicates that a given
    attribute is intended to be used as a class variable and
    should not be set on instances of that class. Usage::

      class Starship:
          stats = {}  # type: ClassVar[Dict[str, int]] # class variable
          damage = 10 # type: int                      # instance variable

    ClassVar accepts only types and cannot be further subscribed.

    Note that ClassVar is not a class itself, and should not
    be used with isinstance() or issubclass().
    u__type__cC@s
||_dS(N(t__type__(Rttpt_root((s*/usr/lib/python2.7/site-packages/typing.pyR �scC@sdt|�}|jdkrD|t|dj|jd��dt�Stdj|jd���dS(Nu{} accepts only types.iRgu {} cannot be further subscripted(R0ReR>RBtformatRR5R(RtitemR((s*/usr/lib/python2.7/site-packages/typing.pyRW�s		cC@s%t|�t|j||�dt�S(NRg(R0R#ReR5(RR!R"((s*/usr/lib/python2.7/site-packages/typing.pyR#�scC@sGtt|�j�}|jdk	rC|djt|j��7}n|S(Nu[{}](RRdR(ReR>RhR(Rtr((s*/usr/lib/python2.7/site-packages/typing.pyR(�scC@stt|�j|jf�S(N(RGR0RRe(R((s*/usr/lib/python2.7/site-packages/typing.pyRH�scC@s<t|t�stS|jdk	r2|j|jkS||kS(N(RRdRDReR>(RRE((s*/usr/lib/python2.7/site-packages/typing.pyRF�s
(u__type__N(RR&R)RcR2R3R>R*R RWR#R(RHRF(((s*/usr/lib/python2.7/site-packages/typing.pyRd�s					Rgt
_FinalMetacB@seZdZd�ZRS(uMetaclass for _FinalcC@s2|j|�tt|�j||||�}|S(N(RRRkR(RRRRR((s*/usr/lib/python2.7/site-packages/typing.pyR�s
!(RR&R)R(((s*/usr/lib/python2.7/site-packages/typing.pyRk�st_FinalcB@sSeZdZeZdZd	d�Zd�Zd�Z	d�Z
d�Zd�ZRS(
u�A special typing construct to indicate that a name
    cannot be re-assigned or overridden in a subclass.
    For example:

        MAX_SIZE: Final = 9000
        MAX_SIZE += 1  # Error reported by type checker

        class Connection:
            TIMEOUT: Final[int] = 10
        class FastConnector(Connection):
            TIMEOUT = 1  # Error reported by type checker

    There is no runtime checking of these properties.
    u__type__cK@s
||_dS(N(Re(RRfR((s*/usr/lib/python2.7/site-packages/typing.pyR �scC@sdt|�}|jdkrD|t|dj|jd��dt�Stdj|jd���dS(Nu{} accepts only single type.iRgu {} cannot be further subscripted(R0ReR>RBRhRR5R(RRiR((s*/usr/lib/python2.7/site-packages/typing.pyRW�s		cC@s>t|j||�}||jkr(|St|�|dt�S(NRg(R#ReR0R5(RR!R"tnew_tp((s*/usr/lib/python2.7/site-packages/typing.pyR#�scC@sGtt|�j�}|jdk	rC|djt|j��7}n|S(Nu[{}](RRlR(ReR>RhR(RRj((s*/usr/lib/python2.7/site-packages/typing.pyR(�scC@stt|�j|jf�S(N(RGR0RRe(R((s*/usr/lib/python2.7/site-packages/typing.pyRH�scC@s<t|t�stS|jdk	r2|j|jkS||kS(N(RRlRDReR>(RRE((s*/usr/lib/python2.7/site-packages/typing.pyRFs
(u__type__N(
RR&R)RkR2R3R>R RWR#R(RHRF(((s*/usr/lib/python2.7/site-packages/typing.pyRl�s					cC@s|S(u5This decorator can be used to indicate to type checkers that
    the decorated method cannot be overridden, and decorated class
    cannot be subclassed. For example:

        class Base:
            @final
            def done(self) -> None:
                ...
        class Sub(Base):
            def done(self) -> None:  # Error reported by type checker
                ...
        @final
        class Leaf:
            ...
        class Other(Leaf):  # Error reported by type checker
            ...

    There is no runtime checking of these properties.
    ((tf((s*/usr/lib/python2.7/site-packages/typing.pytfinal
st_LiteralMetacB@seZdZd�ZRS(uMetaclass for _LiteralcC@s2|j|�tt|�j||||�}|S(N(RRRpR(RRRRR((s*/usr/lib/python2.7/site-packages/typing.pyR's
!(RR&R)R(((s*/usr/lib/python2.7/site-packages/typing.pyRp$st_LiteralcB@sSeZdZeZdZd	d�Zd�Zd�Z	d�Z
d�Zd�ZRS(
u�A type that can be used to indicate to type checkers that the
    corresponding value has a value literally equivalent to the
    provided parameter. For example:

        var: Literal[4] = 4

    The type checker understands that 'var' is literally equal to the
    value 4 and no other value.

    Literal[...] cannot be subclassed. There is no runtime checking
    verifying that the parameter is actually a value instead of a type.
    u
__values__cK@s
||_dS(N(t
__values__(RtvaluesR((s*/usr/lib/python2.7/site-packages/typing.pyR >scC@sit|�}|jdkrIt|t�s6|f}n|d|dt�Stdj|jd���dS(NRsRgu {} cannot be further subscriptedi(	R0RrR>RR/R5RRhR(RRiR((s*/usr/lib/python2.7/site-packages/typing.pyRWAs	cC@s|S(N((RR!R"((s*/usr/lib/python2.7/site-packages/typing.pyR#KscC@sStt|�j�}|jdk	rO|djdjtt|j���7}n|S(Nu[{}]u, (	RRqR(RrR>RhRRR(RRj((s*/usr/lib/python2.7/site-packages/typing.pyR(Ns+cC@stt|�j|jf�S(N(RGR0RRr(R((s*/usr/lib/python2.7/site-packages/typing.pyRHTscC@s<t|t�stS|jdk	r2|j|jkS||kS(N(RRqRDRrR>(RRE((s*/usr/lib/python2.7/site-packages/typing.pyRFWs
(u
__values__N(
RR&R)RpR2R3R>R RWR#R(RHRF(((s*/usr/lib/python2.7/site-packages/typing.pyRq-s	
			tAnyMetacB@seZdZd�ZRS(uMetaclass for Any.cC@s2|j|�tt|�j||||�}|S(N(RRRtR(RRRRR((s*/usr/lib/python2.7/site-packages/typing.pyRes
!(RR&R)R(((s*/usr/lib/python2.7/site-packages/typing.pyRtbst_AnycB@s,eZdZeZdZd�Zd�ZRS(u`Special type indicating an unconstrained type.

    - Any is compatible with every type.
    - Any assumed to have all methods.
    - All values assumed to be instances of Any.

    Note that all the above statements are true from the point of view of
    static type checkers. At runtime, Any should not be used with instance
    or class checks.
    cC@std��dS(Nu%Any cannot be used with isinstance().(R(RRI((s*/usr/lib/python2.7/site-packages/typing.pyRJyscC@std��dS(Nu%Any cannot be used with issubclass().(R(RR((s*/usr/lib/python2.7/site-packages/typing.pyRK|s((RR&R)RtR2R3RJRK(((s*/usr/lib/python2.7/site-packages/typing.pyRuks

	tNoReturnMetacB@seZdZd�ZRS(uMetaclass for NoReturn.cC@s2|j|�tt|�j||||�}|S(N(RRRvR(RRRRR((s*/usr/lib/python2.7/site-packages/typing.pyR�s
!(RR&R)R(((s*/usr/lib/python2.7/site-packages/typing.pyRv�st	_NoReturncB@s,eZdZeZdZd�Zd�ZRS(uSpecial type indicating functions that never return.
    Example::

      from typing import NoReturn

      def stop() -> NoReturn:
          raise Exception('no way')

    This type is invalid in other positions, e.g., ``List[NoReturn]``
    will fail in static type checkers.
    cC@std��dS(Nu*NoReturn cannot be used with isinstance().(R(RRI((s*/usr/lib/python2.7/site-packages/typing.pyRJ�scC@std��dS(Nu*NoReturn cannot be used with issubclass().(R(RR((s*/usr/lib/python2.7/site-packages/typing.pyRK�s((RR&R)RvR2R3RJRK(((s*/usr/lib/python2.7/site-packages/typing.pyRw�s
	tTypeVarMetacB@seZd�ZRS(cC@s,|j|�tt|�j||||�S(N(RRRxR(RRRR((s*/usr/lib/python2.7/site-packages/typing.pyR�s
(RR&R(((s*/usr/lib/python2.7/site-packages/typing.pyRx�sRRcB@sGeZdZeZdZd�Zd�Zd�Zd	�Z	d
�Z
RS(u�Type variable.

    Usage::

      T = TypeVar('T')  # Can be anything
      A = TypeVar('A', str, bytes)  # Must be str or bytes

    Type variables exist primarily for the benefit of static type
    checkers.  They serve as the parameters for generic types as well
    as for generic function definitions.  See class Generic for more
    information on generic types.  Generic functions work as follows:

      def repeat(x: T, n: int) -> List[T]:
          '''Return a list containing n references to x.'''
          return [x]*n

      def longest(x: A, y: A) -> A:
          '''Return the longest of two strings.'''
          return x if len(x) >= len(y) else y

    The latter example's signature is essentially the overloading
    of (str, str) -> str and (bytes, bytes) -> bytes.  Also note
    that if the arguments are instances of some subclass of str,
    the return type is still plain str.

    At runtime, isinstance(x, T) and issubclass(C, T) will raise TypeError.

    Type variables defined with covariant=True or contravariant=True
    can be used do declare covariant or contravariant generic types.
    See PEP 484 for more details. By default generic types are invariant
    in all type variables.

    Type variables can be introspected. e.g.:

      T.__name__ == 'T'
      T.__constraints__ == ()
      T.__covariant__ == False
      T.__contravariant__ = False
      A.__constraints__ == (str, bytes)
    u__name__u	__bound__u__constraints__u
__covariant__u__contravariant__c@s)tt|�j|||�|jdd�}|jdt�}|jdt�}||_|rv|rvtd��nt|�|_	t|�|_
|r�|dk	r�td��n|r�t|�dkr�td��nd�t
�fd	�|D��|_|rt|d
�|_n	d|_dS(Nuboundu	covariantu
contravariantu"Bivariant types are not supported.u-Constraints cannot be combined with bound=...iu"A single constraint is not allowedu:TypeVar(name, constraint, ...): constraints must be types.c3@s|]}t|��VqdS(N(RB(t.0RY(R`(s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>�suBound must be a type.(RRRR tgetR>R*Rt
ValueErrortboolt
__covariant__t__contravariant__RR.R/RSRBt	__bound__(RRtconstraintstkwargstboundt	covariantt
contravariant((R`s*/usr/lib/python2.7/site-packages/typing.pyR �s$	cC@s ||kr|j|�ndS(N(tappend(RR$((s*/usr/lib/python2.7/site-packages/typing.pyR%�scC@s5|jrd}n|jr$d}nd}||jS(Nu+u-u~(R}R~R(Rtprefix((s*/usr/lib/python2.7/site-packages/typing.pyR(�s				cC@std��dS(Nu0Type variables cannot be used with isinstance().(R(Rtinstance((s*/usr/lib/python2.7/site-packages/typing.pyRJ�scC@std��dS(Nu0Type variables cannot be used with issubclass().(R(RR((s*/usr/lib/python2.7/site-packages/typing.pyRK�s(u__name__u	__bound__u__constraints__u
__covariant__u__contravariant__(RR&R)RxR2R3R R%R(RJRK(((s*/usr/lib/python2.7/site-packages/typing.pyRR�s(					uTuKTuVTuT_coR�uV_couVT_couT_contraR�cC@s�|dkrg}nt|d�rIt|ttf�rI|j||�St|t�r�x1t|�D] \}}||kre||SqeWn|S(u�An internal helper function: replace arg if it is a type variable
    found in tvars with corresponding substitution from args or
    with corresponding substitution sub-tree if arg is a generic type.
    u
_subs_treeN(R>thasattrRtGenericMetaR-t
_subs_treeRRt	enumerate(R@R$Rtittvar((s*/usr/lib/python2.7/site-packages/typing.pyt_replace_args	$c	C@s�|jdkr|S|j}g}x)|jdk	rM|j|�|j}q%Wg}x*|jD]}|jt|||��q^WxJ|D]B}g}x-|jD]"}|jt||j|��q�W|}q�W|S(u�An internal helper function: calculate substitution tree
    for generic cls after replacing its type parameters with
    substitutions in tvars -> args (if any).
    Repeat the same following __origin__'s.

    Return a list of arguments with all possible substitutions
    performed. Arguments that are generic classes themselves are represented
    as tuples (so that no new classes are created by this function).
    For example: _subs_tree(List[Tuple[int, T]][str]) == [(Tuple, int, str)]
    N(t
__origin__R>R�t__args__R�t__parameters__(	RR$Rtcurrentt
orig_chaint	tree_argsR@toclst
new_tree_args((s*/usr/lib/python2.7/site-packages/typing.pyR�,s 	


 
c@s�g}x�|D]�}t|t�rD|jtkrD|j|j�q
t|t�r�t|�dkr�|dtkr�|j|d�q
|j|�q
Wt	|��t��t|�krg}x7|D]/}|�kr�|j|��j
|�q�q�W|}�st���nt	|��xV|D]N�t�t�sHq-nt
�fd���hD��r-�j
��q-q-Wt�fd�|D��S(u�An internal helper for Union creation and substitution: flatten Union's
    among parameters, then remove duplicates and strict subclasses.
    iic3@sK|]A}t|t�o$|jdk	st|t�oBt�|�VqdS(N(RR�R�R>R0RT(Rytt2(tt1(s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>nsc3@s!|]}|�kr|VqdS(N((RyRY(t
all_params(s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>ss(Rt_UnionR�tUniontextendR�R/R.R�tsettremoveRMR0tany(t
parameterstparamstpt
new_paramsRY((R�R�s*/usr/lib/python2.7/site-packages/typing.pyt_remove_dups_flattenMs0
1


cC@s�|js"tdt|���nt|�}t|j�}||kr�td||kradndt|�||f��ndS(Nu%s is not a generic classu0Too %s parameters for %s; actual %s, expected %sumanyufew(R�RRNR.(RR�talentelen((s*/usr/lib/python2.7/site-packages/typing.pyt_check_genericvs	c@sDd�i�tj�j�tj�����fd��}|S(Ni�c@sw|}y�|SWn^tk
r,�|�Stk
rr�|�}t���krd�j�n|�|<|SXdS(N(RtKeyErrorR.tclear(Rtkeytvalue(tcachetfunctmaxsize(s*/usr/lib/python2.7/site-packages/typing.pytinner�s




(t	_cleanupsR�R�t	functoolstwraps(R�R�((R�R�R�s*/usr/lib/python2.7/site-packages/typing.pyt	_tp_cache�s
$t	UnionMetacB@seZdZd�ZRS(uMetaclass for Union.cC@s,|j|�tt|�j||||�S(N(RRR�R(RRRR((s*/usr/lib/python2.7/site-packages/typing.pyR�s
(RR&R)R(((s*/usr/lib/python2.7/site-packages/typing.pyR��sR�cB@s�eZdZeZdZddd�Zd�Zd�Z	d�Z
d	�Zed
��Z
ddd�Zd�Zd
�Zd�Zd�ZRS(u�Union type; Union[X, Y] means either X or Y.

    To define a union, use e.g. Union[int, str].  Details:

    - The arguments must be types and there must be at least one.

    - None as an argument is a special case and is replaced by
      type(None).

    - Unions of unions are flattened, e.g.::

        Union[Union[int, str], float] == Union[int, str, float]

    - Unions of a single argument vanish, e.g.::

        Union[int] == int  # The constructor actually returns int

    - Redundant arguments are skipped, e.g.::

        Union[int, str, int] == Union[int, str]

    - When comparing unions, the argument order is ignored, e.g.::

        Union[int, str] == Union[str, int]

    - When two arguments have a subclass relationship, the least
      derived argument is kept, e.g.::

        class Employee: pass
        class Manager(Employee): pass
        Union[int, Employee, Manager] == Union[int, Employee]
        Union[Manager, int, Employee] == Union[int, Employee]
        Union[Employee, Manager] == Employee

    - Similar for object::

        Union[int, object] == object

    - You cannot subclass or instantiate a union.

    - You can use Optional[X] as a shorthand for Union[X, None].
    u__parameters__u__args__u
__origin__u
__tree_hash__cO@stt|�j|||||�}|dkrdd|_d|_d|_ttd��|_	|St
|t�s�td��n|t
kr�t|�}t|�dkr�|dSnt|�|_||_||_|j�}t
|t�rtt|��|_	nt|�|_	|S(NuUnionuExpected parameters=<tuple>ii(uUnion(RR�RR>R�R�R�RGt	frozensett
__tree_hash__RR/RR�R�R.RZR�(RR�toriginRRRt	subs_tree((s*/usr/lib/python2.7/site-packages/typing.pyR�s*$					c@s�|jdkr|St��fd�|jD��}t|j���}||jkrl||jkrl|S|j||dt�S(Nc3@s!|]}t|���VqdS(N(R#(RyRY(R!R"(s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>�sRg(R�R>R/R#R�RUR5(RR!R"tev_argst	ev_origin((R!R"s*/usr/lib/python2.7/site-packages/typing.pyR#�s"cC@s)|jr%|jr%t|j|�ndS(N(R�R�R%(RR$((s*/usr/lib/python2.7/site-packages/typing.pyR%�scC@sX|jdkr"tt|�j�S|j�}t|t�sGt|�S|dj	|�S(Ni(
R�R>RR�R(R�RR/RNt
_tree_repr(Rttree((s*/usr/lib/python2.7/site-packages/typing.pyR(�s
cC@s~g}xQ|dD]E}t|t�s<|jt|��q|j|dj|��qWtt|�j�ddj|�S(Niiu[%s]u, (	RR/R�RR�RR�R(R(RR�targ_listR@((s*/usr/lib/python2.7/site-packages/typing.pyR�sc@s�|dkrtd��nt|t�s6|f}n|jdkrNd�nd�t�fd�|D��}|tk	r�t||�n|j|d|dt�S(Nu Cannot take a Union of no types.u)Union[arg, ...]: each arg must be a type.u*Parameters to generic types must be types.c3@s|]}t|��VqdS(N(RB(RyR�(R`(s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>sR�Rg((	RRR/R�R>R�R�RUR5(RR�((R`s*/usr/lib/python2.7/site-packages/typing.pyRW
s	cC@sS|tkrtSt|||�}t|�}t|�dkrH|dStf|S(Nii(R�R�R�R.(RR$RR�((s*/usr/lib/python2.7/site-packages/typing.pyR�scC@sIt|t�r|j|jkS|tk	r;|j�|kS||kSdS(N(RR�R�R�R�(RRE((s*/usr/lib/python2.7/site-packages/typing.pyRF%s
cC@s|jS(N(R�(R((s*/usr/lib/python2.7/site-packages/typing.pyRH-scC@std��dS(Nu(Unions cannot be used with isinstance().(R(RRI((s*/usr/lib/python2.7/site-packages/typing.pyRJ0scC@std��dS(Nu(Unions cannot be used with issubclass().(R(RR((s*/usr/lib/python2.7/site-packages/typing.pyRK3s(u__parameters__u__args__u
__origin__u
__tree_hash__N(RR&R)R�R2R3R>RR#R%R(R�R�RWR�RFRHRJRK(((s*/usr/lib/python2.7/site-packages/typing.pyR��s*	
								tOptionalMetacB@seZdZd�ZRS(uMetaclass for Optional.cC@s,|j|�tt|�j||||�S(N(RRR�R(RRRR((s*/usr/lib/python2.7/site-packages/typing.pyR=s
(RR&R)R(((s*/usr/lib/python2.7/site-packages/typing.pyR�:st	_OptionalcB@s)eZdZeZdZed��ZRS(uEOptional type.

    Optional[X] is equivalent to Union[X, None].
    cC@s#t|d�}t|td�fS(Nu#Optional[t] requires a single type.(RBR�R0R>(RR@((s*/usr/lib/python2.7/site-packages/typing.pyRWKs((RR&R)R�R2R3R�RW(((s*/usr/lib/python2.7/site-packages/typing.pyR�BscC@s`t}xSt|jd �D]>\}}t|t�r|jtkr|j|d}qqW|S(u�Helper for Generic.__new__.

    Returns the class after the last occurrence of Generic or
    Generic[...] in cls.__mro__.
    i����i(tobjectR�t__mro__RR�R]R^(Rtnext_in_mroR�tc((s*/usr/lib/python2.7/site-packages/typing.pyt_next_in_mroTs
 cC@s4t|jtj�r!d�}n	d�}t|�S(u�Construct a __subclasshook__ callable that incorporates
    the associated __extra__ class in subclass checks performed
    against cls.
    cS@s�|jj|�}|tk	r"|S|jt|dd�krAtSx?|jj�D].}t|t�rlqQnt||�rQtSqQWtS(Nu__mro__((	t	__extra__t__subclasshook__RDR\R5t__subclasses__RR�RT(Rtsubclasstrestscls((s*/usr/lib/python2.7/site-packages/typing.pyt
__extrahook__kscS@s#|jrt||j�rtStS(N(R�RTR5RD(RR�((s*/usr/lib/python2.7/site-packages/typing.pyR�ys(RR�tabctABCMetaR,(RR�((s*/usr/lib/python2.7/site-packages/typing.pyt_make_subclasshookbs	R�cB@s�eZdZdddddd�Zd�Zed��Zejd��Zed��Z	e	jd��Z	d�Z
d�Zd	�Zd
�Z
ddd�Zd�Zd
�Zed��Zd�Zd�Zd�ZRS(ucMetaclass for generic types.

    This is a metaclass for typing.Generic and generic ABCs defined in
    typing module. User defined subclasses of GenericMeta can override
    __new__ and invoke super().__new__. Note that GenericMeta.__new__
    has strict rules on what is allowed in its bases argument:
    * plain Generic is disallowed in bases;
    * Generic[...] should appear in bases at most once;
    * if Generic[...] is present, then it should list all type variables
      that appear in other bases.
    In addition, type of all generic bases is erased, e.g., C[int] is
    stripped to plain C.
    c	@s�|dk	rC|dk	st�td�|D��s�t|��nt|dks[t|��|dksst|��|dks�t|��t|�}d}	xt|D]l}
|
tkr�td��nt|
t�r�|
jtt	fkr�|	dk	rtd��n|
j
}	q�q�W|	dkr)|}	n�t|�}t|	��|�ks�tddj�fd�|D��t
d�|D��r�dnd	djd
�|	D��f��n|	}|}|dkr�|jd�}n|dk	rt|�tjkr||kr|f|}ntd�|D��}t
d
�|D��r]td�|D��}n|ji|d6|d6�tt|�j||||�}
tt|
�jd|s�|
n|j�||
_
|r�td�|D��nd|
_t|
�|
_|dkr||
_nd|kr(|sCt|
jdd�dkrUt|
�|
_n|ryt|d�ry|j |
_ n|r�t!|
j"��ntt|
�j#�|
_$|
S(u�Create a new generic class. GenericMeta.__new__ accepts
        keyword arguments that are used for internal bookkeeping, therefore
        an override should pass unused keyword arguments to super().
        cs@s|]}t|t�VqdS(N(RRR(RyRY((s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>�su!Cannot inherit from plain GenericuACannot inherit from Generic[...] or Protocol[...] multiple times.u1Some type variables (%s) are not listed in %s[%s]u, c3@s'|]}|�krt|�VqdS(N(R(RyRY(tgvarset(s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>�scs@s|]}|jtkVqdS(N(R�R^(Rytb((s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>�suGenericuProtocolcs@s|]}t|�VqdS(N(R(Rytg((s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>�su	__extra__cs@s-|]#}t|t�r!|jn|VqdS(N(RR�R](RyR�((s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>�scs@s*|] }t|t�o!|tk	VqdS(N(RR�R^(RyR�((s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>�scs@s!|]}|tk	r|VqdS(N(R^(RyR�((s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>�su
__origin__u_gorgcs@s9|]/}|tkrtn|tkr-dn|VqdS(N((t_TypingEllipsisRat_TypingEmpty(Ryta((s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>�su__subclasshook__u__name__uu
__extrahook__u__qualname__N(%R>RMtallRZR^RRR�R�R_R�R�RR�RzR0R�R�R/tupdateRRt__setattr__R]R�R�t__next_in_mro__t__orig_bases__R\R�R�R�RRGR�RHR�(RRRRR$RR�textrat
orig_basestgvarsRttvarsett
initial_basesR((R�s*/usr/lib/python2.7/site-packages/typing.pyR�sl%
		#-!	%cO@s�tt|�j||�t|jtj�rO|jj|_|jj|_n0|j	dk	r|j	j|_|j	j|_ndS(N(RR�R RR�R�R�t
_abc_registryt
_abc_cacheR�R>(RRR�((s*/usr/lib/python2.7/site-packages/typing.pyR �scC@s)t|jtj�r|jjS|jjS(N(RR�R�R�t_abc_negative_cacheR]t_abc_generic_negative_cache(R((s*/usr/lib/python2.7/site-packages/typing.pyR��s
cC@sC|jdkr?t|jtj�r3||j_q?||_ndS(N(R�R>RR�R�R�R�R�(RR�((s*/usr/lib/python2.7/site-packages/typing.pyR��scC@s)t|jtj�r|jjS|jjS(N(RR�R�R�t_abc_negative_cache_versionR]t#_abc_generic_negative_cache_version(R((s*/usr/lib/python2.7/site-packages/typing.pyR�s
cC@sC|jdkr?t|jtj�r3||j_q?||_ndS(N(R�R>RR�R�R�R�R�(RR�((s*/usr/lib/python2.7/site-packages/typing.pyR�scC@s)|jr%|jr%t|j|�ndS(N(R�R�R%(RR$((s*/usr/lib/python2.7/site-packages/typing.pyR%sc@s�|jr|jj���nd}|jrOt��fd�|jD��nd}||jkrw||jkrw|S|j|j|jt|j	�d|r�t
|�ndd|d|d|jd|j�S(Nc3@s!|]}t|���VqdS(N(R#(RyR�(R!R"(s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>sR$RR�R�R�(
R�R#R>R�R/RURt	__bases__tdictt__dict__RZR�R�(RR!R"R�R�((R!R"s*/usr/lib/python2.7/site-packages/typing.pyR#s$1	cC@s5|jdkr"tt|�j�S|j|j��S(N(R�R>RR�R(R�R�(R((s*/usr/lib/python2.7/site-packages/typing.pyR((scC@s�g}xm|dD]a}|dkr3|jd�qt|t�sX|jt|��q|j|dj|��qWtt|�j�ddj|�S(Niu()iu[%s]u, ((	R�RR/RR�RR�R(R(RR�R�R@((s*/usr/lib/python2.7/site-packages/typing.pyR�-scC@s9|jdkr|St|||�}|jft|�S(N(R�R>R�R]R/(RR$RR�((s*/usr/lib/python2.7/site-packages/typing.pyR�8scC@sKt|t�stS|jdks1|jdkr;||kS|j|jkS(N(RR�RDR�R>R�(RRE((s*/usr/lib/python2.7/site-packages/typing.pyRF>s

cC@s|jS(N(R�(R((s*/usr/lib/python2.7/site-packages/typing.pyRHEsc@s�t|t�s|f}n|rJ|jtk	rJtdt|���nd�t�fd�|D��}|ttfkr�td�|D��s�td|j	��nt
t|��t
|�kr�td|j	��n|}|}nt|ttfkrt
|�}|}nM|jttfkrBtdt|���nt||�t
|�}|}|jdkry|fnd
}|j|j	||jt|j�d|d	|d
|d|jd|j�S(Nu)Parameter list to %s[...] cannot be emptyu*Parameters to generic types must be types.c3@s|]}t|��VqdS(N(RB(RyR�(R`(s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>Pscs@s|]}t|t�VqdS(N(RRR(RyR�((s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>Ssu0Parameters to %s[...] must all be type variablesu(Parameters to %s[...] must all be uniqueu'Cannot subscript already-subscripted %sR$RR�R�R�((RR/R]tTupleRR	R^R_R�RR.R�tCallableRZR�RNR�R>RUR�R�R�R�R�(RR�R$Rtprepend((R`s*/usr/lib/python2.7/site-packages/typing.pyRWHsD		

	cC@s�|jdk	ridddg}tjd�jd|ksVtjd�jd|krZtStd��n|tkr�td|��ntt	|�j
|�S(	Nuabcu	functoolsusingledispatchiu__name__iuCParameterized generics cannot be used with class or instance checksu5Class %r cannot be used with class or instance checks(R�R>Rt	_getframet	f_globalsR*RR^RR�RK(RRR((s*/usr/lib/python2.7/site-packages/typing.pyRKrs
cC@s#t|d�rt|j|�StS(Nu	__class__(R�RTRUR*(RR�((s*/usr/lib/python2.7/site-packages/typing.pyRJ�scC@si|jd�r|jd�s-|jd�rItt|�j||�ntt|j�j||�dS(Nu__u_abc_(R
tendswithRR�R�R](RtattrR�((s*/usr/lib/python2.7/site-packages/typing.pyR��sN(RR&R)R>RR tpropertyR�tsetterR�R%R#R(R�R�RFRHR�RWRKRJR�(((s*/usr/lib/python2.7/site-packages/typing.pyR��s$
[	
						*		
c	C@s@|j|j|jt|j�|j|j|j|j|j	�S(uBHack to work around https://bugs.python.org/issue11480 on Python 2(
RURR�R�R�R�R�R�R�R�(R((s*/usr/lib/python2.7/site-packages/typing.pyt
_copy_generic�scO@s�|jdkrV|jtjkr@|jtjk	r@|j|�S|j|||�Sn�|j}|jtjkr�|jtjk	r�|j|�}n|j|||�}y
||_Wntk
r�nX|j||�|SdS(N(R�R>RR�R R]t__orig_class__tAttributeError(tbase_clsRRRR�RI((s*/usr/lib/python2.7/site-packages/typing.pyt_generic_new�s 
	

R^cB@s#eZdZeZdZd�ZRS(uCAbstract base class for generic types.

    A generic type is typically declared by inheriting from
    this class parameterized with one or more type variables.
    For example, a generic mapping type might be defined as::

      class Mapping(Generic[KT, VT]):
          def __getitem__(self, key: KT) -> VT:
              ...
          # Etc.

    This class can then be used as follows::

      def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT:
          try:
              return mapping[key]
          except KeyError:
              return default
    cO@s4|jtkrtd��nt|j|||�S(NuHType Generic cannot be instantiated; it can be used only as a base class(R]R^RR�R�(RRR((s*/usr/lib/python2.7/site-packages/typing.pyR�s((RR&R)R�R2R3R(((s*/usr/lib/python2.7/site-packages/typing.pyR^�sR�cB@seZdZRS(u�Internal placeholder for () or []. Used by TupleMeta and CallableMeta
    to allow empty list/tuple in specific places, without allowing them
    to sneak in where prohibited.
    (RR&R)(((s*/usr/lib/python2.7/site-packages/typing.pyR��sR�cB@seZdZRS(u(Internal placeholder for ... (ellipsis).(RR&R)(((s*/usr/lib/python2.7/site-packages/typing.pyR��st	TupleMetacB@s/eZdZed��Zd�Zd�ZRS(uMetaclass for Tuple (internal).c@s|jdk	s|jtk	r4tt|�j|�S|dkrYtt|�jtf�St|t	�st|f}nt
|�dkr�|dtkr�d�t|d��}tt|�j|t
f�Sd�t	�fd�|D��}tt|�j|�S(Niiu Tuple[t, ...]: t must be a type.iu*Tuple[t0, t1, ...]: each t must be a type.c3@s|]}t|��VqdS(N(RB(RyR�(R`(s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>�s((R�R>R]R�RR�RWR�RR/R.RaRBR�(RR�R�((R`s*/usr/lib/python2.7/site-packages/typing.pyRW�s"cC@s,|jdkrt|t�Std��dS(Nu5Parameterized Tuple cannot be used with isinstance().(R�R>RR/R(RRI((s*/usr/lib/python2.7/site-packages/typing.pyRJ�s
cC@s,|jdkrt|t�Std��dS(Nu5Parameterized Tuple cannot be used with issubclass().(R�R>RTR/R(RR((s*/usr/lib/python2.7/site-packages/typing.pyRKs
(RR&R)R�RWRJRK(((s*/usr/lib/python2.7/site-packages/typing.pyR��s	R�cB@s)eZdZeZeZdZd�ZRS(u@Tuple type; Tuple[X, Y] is the cross-product type of X and Y.

    Example: Tuple[T1, T2] is a tuple of two elements corresponding
    to type variables T1 and T2.  Tuple[int, float, str] is a tuple
    of an int, a float and a string.

    To specify a variable-length tuple of homogeneous type, use Tuple[T, ...].
    cO@s1|jtkrtd��ntt|||�S(Nu6Type Tuple cannot be instantiated; use tuple() instead(R]R�RR�R/(RRR((s*/usr/lib/python2.7/site-packages/typing.pyRs((	RR&R)R�R2R/R�R3R(((s*/usr/lib/python2.7/site-packages/typing.pyR�s
tCallableMetacB@s8eZdZd�Zd�Zd�Zed��ZRS(u Metaclass for Callable.cC@s5|jdkr"tt|�j�S|j|j��S(N(R�R>RR�R(R�R�(R((s*/usr/lib/python2.7/site-packages/typing.pyR(&scC@s�|jtk	r%tt|�j|�Sg}xQ|dD]E}t|t�sa|jt|��q6|j|dj|��q6W|ddkr�t	|d�d|dSt	|d�ddj
|d �|dfS(Niiu...u	[..., %s]u
[[%s], %s]u, i����(R]R�RR�R�RR/R�RRNR(RR�R�R@((s*/usr/lib/python2.7/site-packages/typing.pyR�+s
cC@s�|jdk	s|jtk	r4tt|�j|�St|t�sVt	|�dkret
d��n|\}}|tkr�t|f}n7t|t�s�t
d|f��nt|�|f}|j
|�S(uxA thin wrapper around __getitem_inner__ to provide the latter
        with hashable arguments to improve speed.
        iu6Callable must be used as Callable[[arg, ...], result].u8Callable[args, result]: args must be a list. Got %.100r.N(R�R>R]R�RR�RWRR/R.RRatlistt__getitem_inner__(RR�Rtresult((s*/usr/lib/python2.7/site-packages/typing.pyRW;s"c@s�|\}}d�t|��}|tkrItt|�jt|f�Sd�t�fd�|D��}||f}tt|�j|�S(Nu.Callable[args, result]: result must be a type.u6Callable[[arg, ...], result]: each arg must be a type.c3@s|]}t|��VqdS(N(RB(RyR@(R`(s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>Ws(RBRaRR�RWR�R/(RR�RR�((R`s*/usr/lib/python2.7/site-packages/typing.pyR�Os
(RR&R)R(R�RWR�R�(((s*/usr/lib/python2.7/site-packages/typing.pyR�#s
			R�cB@s,eZdZeZejZdZd�Z	RS(u�Callable type; Callable[[int], str] is a function of (int) -> str.

    The subscription syntax must always be used with exactly two
    values: the argument list and the return type.  The argument list
    must be a list of types or ellipsis; the return type must be a single type.

    There is no syntax to indicate optional or keyword arguments,
    such function types are rarely used as callback types.
    cO@s4|jtkrtd��nt|j|||�S(NuIType Callable cannot be instantiated; use a non-abstract subclass instead(R]R�RR�R�(RRR((s*/usr/lib/python2.7/site-packages/typing.pyRns((
RR&R)R�R2tcollections_abcR�R�R3R(((s*/usr/lib/python2.7/site-packages/typing.pyR�_s
		cC@s|S(u�Cast a value to a type.

    This returns the value unchanged.  To the type checker this
    signals that the return value has the designated type, but at
    runtime we intentionally don't check anything (we want this
    to be as fast as possible).
    ((ttyptval((s*/usr/lib/python2.7/site-packages/typing.pytcastusc
C@s�|j}|j}|j}|| }|jp1d}|j}|rOt|�ni}|t|�}x=t|||�D](\}}	||ks�t�|	||<qyW|S(u:Internal helper to extract the default arguments, by name.((	t__code__tco_argcounttco_varnamest__defaults__t__kwdefaults__R�R.tzipRM(
R�RAt	pos_countt	arg_namestdefaultst
kwdefaultsR�t
pos_offsetRR�((s*/usr/lib/python2.7/site-packages/typing.pyt
_get_defaults�s			
	 cC@sdS(u:In Python 2 this is not supported and always returns None.N(R>(RIR!R"((s*/usr/lib/python2.7/site-packages/typing.pytget_type_hints�scC@s�t|t�r�|jj�}xC|jj�D]2\}}||j|fkr.|j|�q.q.WxQ|j�D]@}t|tj	�r�t
|_nt|t�rqt|�qqqqWny
t
|_Wnt
k
r�nX|S(uIDecorator to indicate that annotations are not type hints.

    The argument must be a class or function; if it is a class, it
    applies recursively to all methods and classes defined in that class
    (but not to methods defined in its superclasses or subclasses).

    This mutates the function(s) or class(es) in place.
    (RR0R�tcopytitemsR�tpopRsRXRbR5t__no_type_check__t
no_type_checkR(R@t	arg_attrsR�R�RI((s*/usr/lib/python2.7/site-packages/typing.pyR�s	

c@s"tj���fd��}|S(u�Decorator to give another decorator the @no_type_check effect.

    This wraps the decorator with something that wraps the decorated
    function in @no_type_check.
    c@s�||�}t|�}|S(N(R(RRR�(t	decorator(s*/usr/lib/python2.7/site-packages/typing.pytwrapped_decorator�s(R�R�(RR((Rs*/usr/lib/python2.7/site-packages/typing.pytno_type_check_decorator�scO@std��dS(u*Helper for @overload to raise when called.u�You should not call an overloaded function. A series of @overload-decorated functions outside a stub module should always be followed by an implementation that is not @overload-ed.N(tNotImplementedError(RR((s*/usr/lib/python2.7/site-packages/typing.pyt_overload_dummy�scC@stS(u
Decorator for overloaded functions/methods.

    In a stub file, place two or more stub definitions for the same
    function in a row, each decorated with @overload.  For example:

      @overload
      def utf8(value: None) -> None: ...
      @overload
      def utf8(value: bytes) -> bytes: ...
      @overload
      def utf8(value: str) -> bytes: ...

    In a non-stub file (i.e. a regular .py file), do the same but
    follow it with an implementation.  The implementation should *not*
    be decorated with @overload.  For example:

      @overload
      def utf8(value: None) -> None: ...
      @overload
      def utf8(value: bytes) -> bytes: ...
      @overload
      def utf8(value: str) -> bytes: ...
      def utf8(value):
          # implementation goes here
    (R(R�((s*/usr/lib/python2.7/site-packages/typing.pytoverload�su
Collectiont
_ProtocolMetacB@s2eZdZd�Zd�Zd�Zd�ZRS(u|Internal metaclass for Protocol.

    This exists so Protocol classes can be generic without deriving
    from Generic.
    c@sOtt��j||��jjdd�sMtd��jD���_n�jr!x��j	dD]}|t
tfkp�|jdkr�|j
tkp�t|t�r�|jp�t|t�o�|jtksdtd|��qdqdWt�fd��j�D���_d�}|�_nd�}d	�jkrKt|��_ndS(
Nu_is_protocolcs@s9|]/}|tkp0t|t�o0|jtkVqdS(N(R_RRR�(RyR�((s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>�siu_abcollu7Protocols can only inherit from other protocols, got %rc3@s$|]}tt�|��VqdS(N(R[R\(RyR�(R(s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>sc_@s"t|�jrtd��ndS(Nu Protocols cannot be instantiated(R0R+R(RRR�((s*/usr/lib/python2.7/site-packages/typing.pyt_no_initscS@s�|jjdd�stSt|t�s7td��nxV|j�D]H}x?|jD]0}||jkrT|j|dkr�tSPqTqTWtSqDWt	S(Nu_is_protocolu,issubclass() arg 1 must be a new-style class(
R�RzR>RDRR0Rt_get_protocol_attrsR�R5(RRER�R((s*/usr/lib/python2.7/site-packages/typing.pyt_proto_hooksu__subclasshook__(RRR R�RzR>R�R�R+R�R�R^R&Rt_PROTO_WHITELISTRRR�R�RR�Rt_callable_members_onlyR,R�(RRR�RRR((Rs*/usr/lib/python2.7/site-packages/typing.pyR �s(				c@s�t�t�rtSt�dt�s/�jrEt�j��rEtS�jrzt	��fd��j
�D��rztSntt��j
��S(Nu_is_protocolc3@sI|]?}t�|�o@tt�|��p@t�|�dk	VqdS(N(R�R[R\R>(RyR�(R�R(s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>'s(RR0R*R\RRTRUR5R+R�RRR�RJ(RR�((R�Rs*/usr/lib/python2.7/site-packages/typing.pyRJs		cC@s�|jjdd�rv|jjdd�rvtjd�jddksctjd�jddkrgtStd	��n|jjdd�r�|jr�tjd�jddkr�t	t
|�j|�Std
��nt	t|�j|�S(
Nu_is_protocolu_is_runtime_protocoliu__name__uabcu	functoolsiutypinguLInstance and class checks can only be used with @runtime_checkable protocolsu<Protocols with non-method members don't support issubclass()(uabcu	functools(uabcu	functools(
R�RzR>RR�R�R*RRRR�RKR(RR((s*/usr/lib/python2.7/site-packages/typing.pyRK.s
cC@s�t�}x�|jd D]�}|jdkr2qnt|di�}xYt|jj��t|j��D]2}|jd�rj|dkrj|j|�qjqjWqW|S(Ni����uProtocoluGenericu__annotations__u_abc_u__abstractmethods__u__weakref__u_is_protocolu_is_runtime_protocolu__dict__u__args__u	__slots__u_get_protocol_attrsu__next_in_mro__u__parameters__u
__origin__u__orig_bases__u	__extra__u
__tree_hash__u__doc__u__subclasshook__u__init__u__new__u
__module__u_MutableMapping__markeru
__metaclass__u_gorgu_callable_members_only(uProtocoluGeneric(u__abstractmethods__u__annotations__u__weakref__u_is_protocolu_is_runtime_protocolu__dict__u__args__u	__slots__u_get_protocol_attrsu__next_in_mro__u__parameters__u
__origin__u__orig_bases__u	__extra__u
__tree_hash__u__doc__u__subclasshook__u__init__u__new__u
__module__u_MutableMapping__markeru
__metaclass__u_gorgu_callable_members_only(	R�R�RR\R�R�tkeysR
tadd(RtattrsRtannotationsR�((s*/usr/lib/python2.7/site-packages/typing.pyR?s"	,	(RR&R)R RJRKR(((s*/usr/lib/python2.7/site-packages/typing.pyR�s
	+		R_cB@s)eZdZeZdZeZd�ZRS(u�Base class for protocol classes. Protocol classes are defined as::

      class Proto(Protocol):
          def meth(self):
              # type: () -> int
              pass

    Such classes are primarily used with static type checkers that recognize
    structural subtyping (static duck-typing), for example::

      class C:
          def meth(self):
              # type: () -> int
              return 0

      def func(x):
          # type: (Proto) -> int
          return x.meth()

      func(C())  # Passes static type check

    See PEP 544 for details. Protocol classes decorated with @typing.runtime_checkable
    act as simple-minded runtime protocols that checks only the presence of
    given attributes, ignoring their type signatures.

    Protocol classes can be generic, they are defined as::

      class GenProto(Protocol[T]):
          def meth(self):
              # type: () -> T
              pass
    cO@s4|jtkrtd��nt|j|||�S(NuIType Protocol cannot be instantiated; it can be used only as a base class(R]R_RR�R�(RRR((s*/usr/lib/python2.7/site-packages/typing.pyRys((	RR&R)RR2R3R5R+R(((s*/usr/lib/python2.7/site-packages/typing.pyR_Ss
 cC@s:t|t�s|jr-td|��nt|_|S(u Mark a protocol class as a runtime protocol, so that it
    can be used with isinstance() and issubclass(). Raise TypeError
    if applied to a non-protocol class.

    This allows a simple-minded structural check very similar to the
    one-offs in collections.abc such as Hashable.
    uB@runtime_checkable can be only applied to protocol classes, got %r(RRR+RR5t_is_runtime_protocol(R((s*/usr/lib/python2.7/site-packages/typing.pytruntime_checkable�s

	tIterablecB@seZdZejZRS(((RR&R3R�R$R�(((s*/usr/lib/python2.7/site-packages/typing.pyR$�stIteratorcB@seZdZejZRS(((RR&R3R�R%R�(((s*/usr/lib/python2.7/site-packages/typing.pyR%�stSupportsIntcB@seZdZed��ZRS(cC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pyt__int__�s((RR&R3RR'(((s*/usr/lib/python2.7/site-packages/typing.pyR&�st
SupportsFloatcB@seZdZed��ZRS(cC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pyt	__float__�s((RR&R3RR)(((s*/usr/lib/python2.7/site-packages/typing.pyR(�stSupportsComplexcB@seZdZed��ZRS(cC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pyt__complex__�s((RR&R3RR+(((s*/usr/lib/python2.7/site-packages/typing.pyR*�st
SupportsIndexcB@seZdZed��ZRS(cC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pyt	__index__�s((RR&R3RR-(((s*/usr/lib/python2.7/site-packages/typing.pyR,�stSupportsAbscB@seZdZed��ZRS(cC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pyt__abs__�s((RR&R3RR/(((s*/usr/lib/python2.7/site-packages/typing.pyR.�st
ReversiblecB@seZdZejZRS(((RR&R3R�R0R�(((s*/usr/lib/python2.7/site-packages/typing.pyR0�scB@seZdZed��ZRS(cC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pyt__reversed__�s((RR&R3RR1(((s*/usr/lib/python2.7/site-packages/typing.pyR0�st	ContainercB@seZdZejZRS(((RR&R3R�R2R�(((s*/usr/lib/python2.7/site-packages/typing.pyR2�stAbstractSetcB@seZdZejZRS(((RR&R3R�tSetR�(((s*/usr/lib/python2.7/site-packages/typing.pyR3�st
MutableSetcB@seZdZejZRS(((RR&R3R�R5R�(((s*/usr/lib/python2.7/site-packages/typing.pyR5�stMappingcB@seZdZejZRS(((RR&R3R�R6R�(((s*/usr/lib/python2.7/site-packages/typing.pyR6�stMutableMappingcB@seZdZejZRS(((RR&R3R�R7R�(((s*/usr/lib/python2.7/site-packages/typing.pyR7�stSequencecB@seZdZejZRS(((RR&R3R�R8R�(((s*/usr/lib/python2.7/site-packages/typing.pyR8�scB@seZdZejZRS(((RR&R3R�R8R�(((s*/usr/lib/python2.7/site-packages/typing.pyR8�stMutableSequencecB@seZdZejZRS(((RR&R3R�R9R�(((s*/usr/lib/python2.7/site-packages/typing.pyR9st
ByteStringcB@seZRS((RR&(((s*/usr/lib/python2.7/site-packages/typing.pyR:	stListcB@seZdZeZd�ZRS(cO@s1|jtkrtd��ntt|||�S(Nu4Type List cannot be instantiated; use list() instead(R]R;RR�R�(RRR((s*/usr/lib/python2.7/site-packages/typing.pyRs((RR&R3R�R�R(((s*/usr/lib/python2.7/site-packages/typing.pyR;stDequecB@s eZdZejZd�ZRS(cO@s5|jtkrtj||�Sttj|||�S(N(R]R<tcollectionstdequeR�(RRR((s*/usr/lib/python2.7/site-packages/typing.pyR s((RR&R3R=R>R�R(((s*/usr/lib/python2.7/site-packages/typing.pyR<s	R4cB@seZdZeZd�ZRS(cO@s1|jtkrtd��ntt|||�S(Nu2Type Set cannot be instantiated; use set() instead(R]R4RR�R�(RRR((s*/usr/lib/python2.7/site-packages/typing.pyR*s((RR&R3R�R�R(((s*/usr/lib/python2.7/site-packages/typing.pyR4&st	FrozenSetcB@seZdZeZd�ZRS(cO@s1|jtkrtd��ntt|||�S(Nu>Type FrozenSet cannot be instantiated; use frozenset() instead(R]R?RR�R�(RRR((s*/usr/lib/python2.7/site-packages/typing.pyR5s((RR&R3R�R�R(((s*/usr/lib/python2.7/site-packages/typing.pyR?1stMappingViewcB@seZdZejZRS(((RR&R3R�R@R�(((s*/usr/lib/python2.7/site-packages/typing.pyR@<stKeysViewcB@seZdZejZRS(((RR&R3R�RAR�(((s*/usr/lib/python2.7/site-packages/typing.pyRAAst	ItemsViewcB@seZdZejZRS(((RR&R3R�RBR�(((s*/usr/lib/python2.7/site-packages/typing.pyRBFst
ValuesViewcB@seZdZejZRS(((RR&R3R�RCR�(((s*/usr/lib/python2.7/site-packages/typing.pyRCMstContextManagercB@s8eZdZd�Zejd��Zed��ZRS(cC@s|S(N((R((s*/usr/lib/python2.7/site-packages/typing.pyt	__enter__UscC@sdS(N(R>(Rtexc_typet	exc_valuet	traceback((s*/usr/lib/python2.7/site-packages/typing.pyt__exit__XscC@sI|tkrEtd�|jD��rEtd�|jD��rEtSntS(Ncs@s|]}d|jkVqdS(u	__enter__N(R�(RytB((s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>dscs@s|]}d|jkVqdS(u__exit__N(R�(RyRJ((s*/usr/lib/python2.7/site-packages/typing.pys	<genexpr>es(RDR�R�R5RD(RtC((s*/usr/lib/python2.7/site-packages/typing.pyR�\s
((	RR&R3RER�RRIR,R�(((s*/usr/lib/python2.7/site-packages/typing.pyRDRs	tDictcB@seZdZeZd�ZRS(cO@s1|jtkrtd��ntt|||�S(Nu4Type Dict cannot be instantiated; use dict() instead(R]RLRR�R�(RRR((s*/usr/lib/python2.7/site-packages/typing.pyRns((RR&R3R�R�R(((s*/usr/lib/python2.7/site-packages/typing.pyRLjstDefaultDictcB@s eZdZejZd�ZRS(cO@s5|jtkrtj||�Sttj|||�S(N(R]RMR=tdefaultdictR�(RRR((s*/usr/lib/python2.7/site-packages/typing.pyRys((RR&R3R=RNR�R(((s*/usr/lib/python2.7/site-packages/typing.pyRMus	tCountercB@s eZdZejZd�ZRS(cO@s5|jtkrtj||�Sttj|||�S(N(R]ROR=R�(RRR((s*/usr/lib/python2.7/site-packages/typing.pyR�s((RR&R3R=ROR�R(((s*/usr/lib/python2.7/site-packages/typing.pyROs	t	GeneratorcB@seZdZeZd�ZRS(cO@s1|jtkrtd��ntt|||�S(Nu@Type Generator cannot be instantiated; create a subclass instead(R]RPRR�t_G_base(RRR((s*/usr/lib/python2.7/site-packages/typing.pyR�s((RR&R3RQR�R(((s*/usr/lib/python2.7/site-packages/typing.pyRP�suCT_coR�tTypecB@seZdZdZeZRS(u�A special construct usable to annotate class objects.

    For example, suppose we have the following classes::

      class User: ...  # Abstract base for User classes
      class BasicUser(User): ...
      class ProUser(User): ...
      class TeamUser(User): ...

    And a function that takes a class argument that's a subclass of
    User and returns an instance of the corresponding class::

      U = TypeVar('U', bound=User)
      def new_user(user_class: Type[U]) -> U:
          user = user_class()
          # (Here we could write the user object to a database)
          return user

      joe = new_user(BasicUser)

    At this point the type checker knows that joe has type BasicUser.
    ((RR&R)R3R0R�(((s*/usr/lib/python2.7/site-packages/typing.pyRR�scC@s�g|D]\}}||f^q}tj|g|D]\}}|^q5�}t|�|_y%tjd�jjdd�|_Wnt	t
fk
r�nX|S(u�Typed version of namedtuple.

    Usage::

        Employee = typing.NamedTuple('Employee', [('name', str), ('id', int)])

    This is equivalent to::

        Employee = collections.namedtuple('Employee', ['name', 'id'])

    The resulting class has one extra attribute: _field_types,
    giving a dict mapping field names to types.  (The field names
    are in the _fields attribute, which is part of the namedtuple
    API.)
    iu__name__u__main__(R=t
namedtupleR�t_field_typesRR�R�RzR&R�R{(ttypenametfieldstnRYR((s*/usr/lib/python2.7/site-packages/typing.pyt
NamedTuple�s%+%cC@sMy/tjd�jddkr.td��nWnttfk
rHnXtS(Niu__name__uabcu	functoolsutypingu4TypedDict does not support instance and class checks(uabcu	functoolsutyping(RR�R�RR�R{R*(RRE((s*/usr/lib/python2.7/site-packages/typing.pyt_check_fails�scO@s
t||�S(N(R�(RRR�((s*/usr/lib/python2.7/site-packages/typing.pyt	_dict_new�scK@s�|jdt�}|dkr'|}n|r<td��nit|�d6|d6}y&tjd�jjdd�|d<Wnt	t
fk
r�nXt|d	|�S(
Nutotalu@TypedDict takes either a dict or keyword arguments, but not bothu__annotations__u	__total__iu__name__u__main__u
__module__((RR5R>RR�RR�R�RzR�R{t_TypedDictMeta(Rt	_typenamet_fieldsR�ttotaltns((s*/usr/lib/python2.7/site-packages/typing.pyt_typeddict_new�s	&R[cB@seZed�ZeZZRS(c@s�|dkrtnt|d<tt|�j||tf|�}|jdi�}d��fd�|j�D�}x*|D]"}|j|j	jdi��q{W||_
t|d�s�||_n|S(Nt	TypedDictu__new__u__annotations__u?TypedDict('Name', {f0: t0, f1: t1, ...}); each t must be a typec@s(i|]\}}t|��|�qS((RB(RyRWRf(R`(s*/usr/lib/python2.7/site-packages/typing.pys
<dictcomp>	s	u	__total__(
R`RZRR[RR�RzR
R�R�t__annotations__R�t	__total__(RRRR_R^ttp_dicttannsR((R`s*/usr/lib/python2.7/site-packages/typing.pyR�s$
 	(RR&R5RRYRJRK(((s*/usr/lib/python2.7/site-packages/typing.pyR[�sRau=A simple typed name space. At runtime it is equivalent to a plain dict.

    TypedDict creates a dictionary type that expects all of its
    instances to have a certain set of keys, with each key
    associated with a value of a consistent type. This expectation
    is not checked at runtime but is only enforced by type checkers.
    Usage::

        Point2D = TypedDict('Point2D', {'x': int, 'y': int, 'label': str})

        a: Point2D = {'x': 1, 'y': 2, 'label': 'good'}  # OK
        b: Point2D = {'z': 3, 'label': 'bad'}           # Fails type check

        assert Point2D(x=1, y=2, label='first') == dict(x=1, y=2, label='first')

    The type info could be accessed via Point2D.__annotations__. TypedDict
    supports an additional equivalent form::

        Point2D = TypedDict('Point2D', x=int, y=int, label=str)
    cC@s%d�}t|�|_||_|S(u:NewType creates simple unique types with almost zero
    runtime overhead. NewType(name, tp) is considered a subtype of tp
    by static type checkers. At runtime, NewType(name, tp) returns
    a dummy function that simply returns its argument. Usage::

        UserId = NewType('UserId', int)

        def name_by_id(user_id):
            # type: (UserId) -> str
            ...

        UserId('user')          # Fails type check

        name_by_id(42)          # Fails type check
        name_by_id(UserId(42))  # OK

        num = UserId(5) + 1     # type: int
    cS@s|S(N((R((s*/usr/lib/python2.7/site-packages/typing.pytnew_type=	s(RRt
__supertype__(RRfRf((s*/usr/lib/python2.7/site-packages/typing.pytNewType)	s		tIOcB@sOeZdZdZed��Zed��Zed��Zed��Z	ed��Z
ed��Zed��Zedd	��Z
ed
��Zedd��Zedd��Zed
d��Zed��Zed��Zedd��Zed��Zed��Zed��Zed��Zed��ZRS(u�Generic base class for TextIO and BinaryIO.

    This is an abstract, generic version of the return of open().

    NOTE: This does not distinguish between the different possible
    classes (text vs. binary, read vs. write vs. read/write,
    append-only, unbuffered).  The TextIO and BinaryIO subclasses
    below capture the distinctions between text vs. binary, which is
    pervasive in the interface; however we currently do not offer a
    way to track the other distinctions in the type system.
    cC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytmode]	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pyRa	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytclosee	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytclosedi	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytfilenom	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytflushq	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytisattyu	si����cC@sdS(N((RRW((s*/usr/lib/python2.7/site-packages/typing.pytready	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytreadable}	scC@sdS(N((Rtlimit((s*/usr/lib/python2.7/site-packages/typing.pytreadline�	scC@sdS(N((Rthint((s*/usr/lib/python2.7/site-packages/typing.pyt	readlines�	sicC@sdS(N((Rtoffsettwhence((s*/usr/lib/python2.7/site-packages/typing.pytseek�	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytseekable�	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pyttell�	scC@sdS(N((Rtsize((s*/usr/lib/python2.7/site-packages/typing.pyttruncate�	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytwritable�	scC@sdS(N((Rts((s*/usr/lib/python2.7/site-packages/typing.pytwrite�	scC@sdS(N((Rtlines((s*/usr/lib/python2.7/site-packages/typing.pyt
writelines�	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pyRE�	scC@sdS(N((RR0R�RH((s*/usr/lib/python2.7/site-packages/typing.pyRI�	s(N(RR&R)R3RRjRRRkRlRmRnRoRpRqRsRuRxRyRzR>R|R}RR�RERI(((s*/usr/lib/python2.7/site-packages/typing.pyRiN	s6tBinaryIOcB@s2eZdZdZed��Zed��ZRS(u5Typed version of the return of open() in binary mode.cC@sdS(N((RR~((s*/usr/lib/python2.7/site-packages/typing.pyR�	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pyRE�	s((RR&R)R3RRRE(((s*/usr/lib/python2.7/site-packages/typing.pyR��	stTextIOcB@sneZdZdZed��Zed��Zed��Zed��Zed��Z	e
d��ZRS(u3Typed version of the return of open() in text mode.cC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytbuffer�	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytencoding�	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pyterrors�	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytline_buffering�	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pytnewlines�	scC@sdS(N((R((s*/usr/lib/python2.7/site-packages/typing.pyRE�	s((RR&R)R3RR�R�R�R�R�RRE(((s*/usr/lib/python2.7/site-packages/typing.pyR��	stiocB@s/eZdZdddgZeZeZeZRS(u)Wrapper namespace for IO generic classes.uIOuTextIOuBinaryIO(RR&R)t__all__RiR�R�(((s*/usr/lib/python2.7/site-packages/typing.pyR��	s
s.iouPatternucC@s|jS(N(tpattern(R�((s*/usr/lib/python2.7/site-packages/typing.pyt<lambda>�	tuMatchcC@s
|jjS(N(treR�(tm((s*/usr/lib/python2.7/site-packages/typing.pyR��	R�R�cB@s&eZdZddgZeZeZRS(u&Wrapper namespace for re type aliases.uPatternuMatch(RR&R)R�tPatterntMatch(((s*/usr/lib/python2.7/site-packages/typing.pyR��	ss.re(�t
__future__RRR�RRR=R�R�t	stdlib_reRRXRtcollections.abcR�tImportErrorR�R	R
R0RR�R-R4R7RLR%RZR#RBRRcRdR5tClassVarRkRltFinalRoRpRqtLiteralRtRutAnyRvRwtNoReturnRxRRtTtKTtVTtT_cotV_cotVT_cotT_contratbytestunicodetAnyStrR�R>R�R�R�R�R�R�R�R�R�R�tOptionalR�R�R�R�R�t_copy_dispatchR^R�R�R�R�R/R�R�R�R�R
RRRRRRRR_R#tHashableR$R%R&R(R*R,R.R�R0tSizedR2R3R5R6R7R8R9tintR:tregisterRt	bytearrayR�R;R>R<R�R4R�R?R@RARBRCRDR�RLRNRMRORPRQt
GeneratorTypetCT_coRRRXRYRZR`R[RaRR&R)RhtTextR*t
TYPE_CHECKINGRiR�R�R�tmodulesR9R�tmatchR�(((s*/usr/lib/python2.7/site-packages/typing.pyt<module>s�
			)%5C						5	6		2		Y	!	)		�		�	
	"
9
								i-			$1 '$

 
!#&
&	*		
				`	


© 2025 GrazzMean