+
    Qiv                      a  0 t $ R t^ RIHt ^ RIt^ RIHtHtHtH	t	 ^ RI
HtHt ]	! R4      t]. ]3,          tR R lt^ RI
HtHt R	]R
&   ]'       g&   ]! R ]! ]! R]! ].4      / 4      ]4       4       4      tR R ltR R ltR R ltR# )zV
Workaround for U{the lack of TypeForm
<https://github.com/python/mypy/issues/9773>}.
)annotationsN)TYPE_CHECKINGCallableProtocolTypeVar)	signature	SignatureTc                    V ^8  d   QhRRRR/# )   xzProtocolAtRuntime[T]returnstr )formats   "7/usr/lib/python3/dist-packages/automat/_runtimeproto.py__annotate__r      s      ( S     c                    V P                   # N)__name__)r   s   &r   runtime_namer      s    ::r   )
getmembers
isfunctionfrozenset[str]emptyProtocolMethodsc              #  *   "   T F	  w  rVx  K  	  R # 5ir   r   .0nameeachs   &  r   	<genexpr>r!      s      %XJD 	X   Examplec                    V ^8  d   QhRRRR/# )r   protocolobjectr   r   r   )r   s   "r   r   r   !   s      V  r   c                X    \        R \        V \        4       4       4      \        ,
          # )z
Attempt to ignore implementation details, and get all the methods that the
protocol actually defines.

that includes locally defined methods and also those defined in inherited
superclasses.
c              3  *   "   T F	  w  rVx  K  	  R # 5ir   r   r   s   &  r   r!   1actuallyDefinedProtocolMethods.<locals>.<genexpr>*   s     J)I:4$)Ir"   )	frozensetr   r   r   )r%   s   &r   actuallyDefinedProtocolMethodsr+   !   s&     	JHj)IJJ
	r   c               (    V ^8  d   QhRRRRRRRR/# )	r   methodCallable[..., object]itr&   annr   r   Noner   )r   s   "r   r   r   /   s)     ? ?0 ?f ?3 ?4 ?r   c                    \        W4      p\        V\        4      '       d"   \        W\	        W0P
                  4      4       R # R # r   )getattr
isinstancer   setattreval__globals__)r-   r/   r0   
annotations   &&& r   _fixAnnotationr9   /   s3    !J*c""j*<*<=> #r   c                    V ^8  d   QhRRRR/# )r   r-   r.   r   r   r   )r   s   "r   r   r   5   s     	 	0 	Y 	r   c                    \        V 4      pVP                  P                  4        F  p\        WR4       K  	  \        WR4       V# )z-
Get a signature with evaluated annotations.
_annotation_return_annotation)r   
parametersvaluesr9   )r-   resultparams   &  r   _liveSignaturerB   5   sA    
 vF""))+vm4 ,6#78Mr   )__conditional_annotations____doc__
__future__r   systypingr   r   r   r   inspectr   r   r	   ProtocolAtRuntimer   r   r   __annotations__r*   typetupler   r+   r9   rB   )rC   s   @r   <module>rM      s   
 # 
 = = (CLRUO  +$ $$ %$T)UH:5F%KZX% ?	r   