+
    e                         R t ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
 R tR tR tR	 t]RR
 l4       t ! R R]4      tR# )a
  
This module is responsible for inferring *args and **kwargs for signatures.

This means for example in this case::

    def foo(a, b, c): ...

    def bar(*args):
        return foo(1, *args)

The signature here for bar should be `bar(b, c)` instead of bar(*args).
)	Parameter)tree)to_list)ParamNameWrapper)is_big_annoying_libraryc              #   @  "   ^ RI Hp ^ RIHp V P                  p\
        P                  ! V P                  RR4      pVP                  4       pVP                  R
,          P                  pVP                  R
,          P                  pVP                  4       P                  V P                  4       F  pWhP                  u;8:  d
   V8  g   K  M K!  VP                  p	V	P                  R8X  g   K@  V	P                  ^ ,          RV P                   ,          8X  g   Kk  V! V	R4      p
V
f   Kz  VP#                  V
4      p\%        WV4      '       g   K  \'        W4      pVP)                  VP*                  VV
P                  ^,          V
R	7      pV F  pW3x  K
  	  K  	  R# 5i)    )search_ancestor)TreeArgumentsfuncdeflambdefargument*trailerN)contextargument_noder   )parso.python.treer	   jedi.inference.argumentsr
   parent_contextr   	tree_nameget_root_nodechildren	start_posend_posget_used_namesgetstring_nameparenttype
star_countcreate_context_goes_to_param_name_to_callablescreate_cachedinference_state)
param_namer	   r
   execution_contextfunction_nodemodule_nodestartendnamer   r   r   valuesargscs   &              :/usr/lib/python3/dist-packages/jedi/inference/star_args.py_iter_nodes_for_paramr1      sU    16"11
 (()=)=y)TM--/K""2&00E

 
 
$
,
,C**,001G1GHNN(S(({{H}}
* ))!,j6K6K0KK)(I>&/>>wGG*:EE!.w!@,::-==$+*1*:*:1*=$+	  ;   "(A"#'M "(% Is%   CFF0&F
F* FAFc                    a  VP                   R 8w  d   R# ^ RIHp V! W4      P                  4       p\        ;QJ d    V 3R lV 4       F  '       g   K   R# 	  R# ! V 3R lV 4       4      # )r,   F)TreeNameDefinitionc              3      <"   T F?  pSP                   VP                   8H  ;'       d    SP                  VP                  8H  x  KA  	  R # 5iN)r   r   ).0pr&   s   & r0   	<genexpr>&_goes_to_param_name.<locals>.<genexpr>>   sJ      1 ((A,<,<< 7 7''1;;67s
   $A
"A
T)r   jedi.inference.namesr3   gotoany)r&   r   potential_namer3   founds   f&&  r0   r"   r"   9   se    f$7w7<<>E3 33 3 3       c                     ^ RI Hp VP                  pVP                  ^ ,          R8H  pV P	                  VP                  V,          4      pVP                  V^,           R  F  pW8X  d    V# V! WV4      pK  	  V# )r   )infer_trailerawaitN)jedi.inference.syntax_treerA   r   r   
infer_node)r   r   rA   	atom_exprindexr-   trailer2s   &&     r0   r#   r#   C   s|    8Iq!W,E	 2 25 9:F&&uqyz2M w9 3 Mr?   c              #   V  "   ^ p\        4       pV P                  4        F%  w  rEVf   V^,          pK  VP                  V4       K'  	  V FY  pV'       d"   VP                  4       '       d   V^,          pK,  VP                  V9   d   VP                  4       '       d   KU  Vx  K[  	  R# 5i)r   N)setunpackaddmaybe_positional_argumentr   maybe_keyword_argument)	argumentsparam_namescount	used_keyskey_r7   s   &&     r0   _remove_given_paramsrT   Q   s     EI""$;QJEMM#	 % Q0022QJE==I%!*B*B*D*D s   A(B)+1B)B)c              #   "
  "   V '       d/   \        V ^ ,          P                  4      '       d   T  Rj  xL
  R# \        4       p. p. p. p. p. pRpRp	V  EFr  p
V
P                  4       pV\        P
                  8X  d!   V^,          '       d   \        V
4      pT
pKG  KI  V
P                  4       \        P                  8X  d*   V^,          '       d   \        \        V
4      4      pT
p	K  K  V\        P                  8X  d%   V^,          '       d   VP                  V
4       K  K  V\        P                  8X  d   V^,          '       d   V
x  K  K  V^8X  d    \        V
\        P                  4      x  EK   V^8X  d-   VP                  \        V
\        P                  4      4       EKS  VP                  V
P                  4       V
x  EKu  	  RpRpRpV EFR  pVw  ppTpW9   d   VP                  V4       M^pVP!                  4        EF  pRpV^8X  d   Rp. p\#        \        \%        VVP'                  RR7      4      4      V4       F  p
V
P                  4       \        P                  8X  d   VP                  V
4       K9  V
P                  4       \        P
                  8X  d   VP                  V
4       Ko  V
P                  4       \        P                  8X  d   VP                  V
4       K  VP                  V
4       K  	  \)        V4      \)        V4      8  g   EK  TpEK  	  EKU  	  V F  p
V^8X  dB   V
P                  4       \        P
                  8w  d   \        V
\        P                  4      x  KK  V
P                  4       \        P*                  8X  d   VP                  V
P                  4       V
x  K  	  V'       g
   Ve   Vx  MV'       d   V^ ,          x  V F  w  ppVP!                  4        F  pRp\#        \        \%        VVP'                  RR7      4      4      ^R7       Fo  p
V
P                  4       \        P                  8X  d   VP                  V
4       K9  V
P                  4       \        P                  8X  g   K^  VP                  V
4       Kq  	  K  	  K  	  V F5  p
V
P                  V9   d   K  V
x  VP                  V
P                  4       K7  	  V'       g   V	e   V	x  R# V'       d   V^ ,          x  R# R#  EL5i)r   NFT)resolve_stars)r     )r   r   rI   get_kindr   VAR_POSITIONALr1   VAR_KEYWORDlistKEYWORD_ONLYappendPOSITIONAL_ONLYParamNameFixedKindrK   r   removeget_signaturesprocess_paramsrT   get_param_nameslenPOSITIONAL_OR_KEYWORD)rO   r    
used_namesarg_callableskwarg_callableskw_only_nameskwarg_names	arg_namesoriginal_arg_nameoriginal_kwarg_namer7   kindlongest_param_namesfound_arg_signaturefound_kwarg_signaturefunc_and_argumentfuncrN   new_star_count	signatureargs_for_this_funcs   &&                   r0   rb   rb   c   s1    ";q>#@#@AA #""JMOMKIzz|9+++A~~ 5a 8$%!  ZZ\Y222A~~"&'<Q'?"@&'#  Y+++A~~$$Q' Y...A~~  Q(I,E,EFFq$$%79;Q;Q%RSq}}-/ 4 !*+i#/""#45N,,.I"&"(,%!##-!!111F  '	(
 ::<9#8#88&&q)ZZ\Y%=%==$$Q'ZZ\Y%;%;;!((+&--a0( %&-@)AA&8#' / +: !?qzz|y/G/GG$Q	(A(ABBzz|y>>>q}}-G ! #4#@	l +i,,.I$(!#-!!111F  $%	&
 ::<9#8#88&&q)ZZ\Y%;%;;!((+& / + ==J&q}}%	  !%8%D!!	!n 
S #sQ   0TTATAT=T8TGTB&TTB1TAT+T=Tc                   8   a a ] tR t^t oV 3R ltR tRtVtV ;t# )r_   c                2   < \         SV `  V4       W n        R # r5   )super__init__	_new_kind)selfr&   new_kind	__class__s   &&&r0   rz   ParamNameFixedKind.__init__   s    $!r?   c                    V P                   # r5   r{   )r|   s   &r0   rX   ParamNameFixedKind.get_kind   s    ~~r?   r   )	__name__
__module____qualname____firstlineno__rz   rX   __static_attributes____classdictcell____classcell__)r~   __classdict__s   @@r0   r_   r_      s     " r?   r_   N)   )__doc__inspectr   parsor   jedi.inference.utilsr   r:   r   jedi.inference.helpersr   r1   r"   r#   rT   rb   r_   rW   r?   r0   <module>r      sT      ( 1 : *F$ 	o 	od) r?   