ó
    Eñi0&  ã                   ó|   • S SK r S SKrS SKrS SKJr  0 r\R                  " S\R                  5      rS r	S r
SS jrg)é    N)Úufuncz[a-z0-9_]+\(.*[,=].*\)c           	      óÐ   • SS K n UR                  U 5      nU$ ! [         aB    [        U 5       Vs/ s H"  n[	        X5      (       d  M  U[        X5      4PM$     Os  snf nn U$ f = f)Nr   )ÚinspectÚ
getmembersÚ	ExceptionÚdirÚhasattrÚgetattr)Úitemr   ÚmembersÚxs       Ú\/home/mande/repo/quber/.venv/lib/python3.13/site-packages/skimage/_vendored/numpy_lookfor.pyÚ_getmembersr      sk   € ÛðQØ×$Ñ$ TÓ*ˆð €Nøô ó QÜ25°d´)ÓP²)¨Q¼wÀt×?OÓ(�A”w˜tÓ'Ó(²)ùÒPˆÐPˆØ€NðQús    † ™A%°AÁAÁA%Á$A%c                 óz	  • SSK nSSKJn  U c  Sn [        U [        5      (       a    [        U 5        [        R                  U    n OR[        U [        5      (       d  [        U [        5      (       a(  0 nU  H  nUR                  [        XaU5      5        M      U$ [        U 5      [        ;   a  U(       d  [        [        U 5         $ 0 nU[        [        U 5      '   0 nSnU R                  U 4/n	U	(       GaA  U	R!                  S5      u  p«[        U5      U;   a  M,  SU[        U5      '   US-  nSnUR#                  U5      (       Gas  Sn UR$                  nU(       Ga¨  [)        US	5      (       Ga–  UR*                   GH…  n[,        R.                  R1                  U5      (       d$  [,        R.                  R3                  U5      (       d  MN  [,        R4                  " U5       GH  n[,        R.                  R7                  Xï5      n[,        R.                  R7                  XïS
5      n[,        R.                  R1                  U5      (       a  UR9                  S5      (       a  USS nO)[,        R.                  R1                  U5      (       a  UnOM¬  US:X  a  M´   [        R:                  n[        R<                  n U" 5       [        l        U" 5       [        l        [        U
 SU 35        U[        l        U[        l        GM     GMˆ     [C        U5       H¤  u  nn [E        USU
 SU 35      n[E        USS5      nSU;  a  U(       a  U SU 3nURI                  U
S-   5      (       d  [        U[J        5      (       a  O#Mk  UR#                  U5      (       d  Ub  UU;   d  MŒ  U	RM                  U
 SU 3U45        M¦     OYURO                  U5      (       a0  Sn[C        U5       H  u  nnU	RM                  U
 SU 3U45        M      O[)        US5      (       a  Sn URQ                  U5      nUb  UXÈ4XZ'   U	(       a  GMA  U$ ! [         a    0 s $ f = f! [&         a    Sn GNf = f! U[        l        U[        l        f = f! [>         a    e [@         a     GM²  f = f! [F         a    U
 SU 3nSn GNuf = f! [F         a    Sn N™f = f)a¹  
Generate docstring cache for given module.

Parameters
----------
module : str, None, module
    Module for which to generate docstring cache
import_modules : bool
    Whether to import sub-modules in packages.
regenerate : bool
    Re-generate the docstring cache

Returns
-------
cache : dict {obj_full_name: (docstring, kind, index), ...}
    Docstring cache for the module, either cached one (regenerate=False)
    or newly generated.

r   N)ÚStringIOÚskimageTé   ÚobjectÚmoduleÚ__path__z__init__.pyz.pyéýÿÿÿÚ__init__Ú.Ú__name__Ú
__module__ÚclassÚ__call__Úfunc))r   Úior   Ú
isinstanceÚstrÚ
__import__ÚImportErrorÚsysÚmodulesÚlistÚtupleÚupdateÚ_lookfor_generate_cacheÚidÚ_lookfor_cachesr   ÚpopÚismoduleÚ__all__ÚAttributeErrorr	   r   ÚosÚpathÚisfileÚexistsÚlistdirÚjoinÚendswithÚstdoutÚstderrÚKeyboardInterruptÚBaseExceptionr   r
   Ú	NameErrorÚ
startswithr   ÚappendÚisclassÚgetdoc)r   Úimport_modulesÚ
regenerater   r   ÚcacheÚmodÚseenÚindexÚstackÚnamer   ÚkindÚ_allÚpthÚmod_pathÚthis_pyÚinit_pyÚ	to_importÚ
old_stdoutÚ
old_stderrÚnÚvÚ	item_nameÚmod_nameÚdocs                             r   r)   r)   "   s5  € ó* åà�~Øˆä�&œ#×Ñð	Ü�vÔô —‘˜VÑ$‰Ü	�FœD×	!Ñ	!¤Z°¼×%>Ñ%>ØˆÛˆCØ�L‰LÔ0°ÀjÓQÖRñ àˆä	ˆ&ƒz”_Ó$®ZÜœr &›zÑ*Ð*ð €EØ"'„O”B�v“JÑØ€DØ€EØ�o‰o˜vÐ&Ð'€Eß
Ø—Y‘Y˜q“\‰
ˆÜˆd‹8�tÓÙØˆŒR�‹X‰à�‰
ˆØˆà×Ñ˜D×!Ò!ØˆDðØ—|‘|�÷
 ¤'¨$°
×";Ò";ØŸ=�=�CÜ—w‘w—~‘~ c×*Ñ*´"·'±'·.±.À×2EÑ2EÙ Ü$&§J¢J¨s§O˜Ü"$§'¡'§,¡,¨sÓ"=˜Ü"$§'¡'§,¡,¨s¸mÓ"L˜ÜŸ7™7Ÿ>™>¨'×2Ñ2°x×7HÑ7HÈ×7OÑ7OØ(0°°"¨™IÜŸW™WŸ^™^¨G×4Ñ4Ø(0™Iá$Ø$¨
Ó2Ù$ð%Ü),¯©˜JÜ),¯©˜Jð8Ù-5«Z¤¤
Ù-5«Z¤¤
Ü *¨d¨V°1°Y°KÐ+@Ô Aà-7¤¤
Ø-7¤§
ô+ %4ñ )ôB $ DÖ)‘��1ð$Ü 'ØØ"Ø˜&  ! ˜ó!�Iô
  ' q¨,¸Ó=�Hð ˜iÓ'®HØ#+ *¨A¨i¨[Ð 9�Ià ×+Ñ+¨D°3©J×7Ñ7ä! !¤U×+Ñ+àá Ø!×*Ñ*¨1×-Ñ-°±ÀÀdÃÙà—‘   a¨ s˜m¨QÐ/Ö0ò5 *ð6 �_‰_˜T×"Ñ"ØˆDÜ# DÖ)‘��1Ø—‘   a¨ s˜m¨QÐ/Ö0ò *ä�T˜:×&Ñ&ØˆDð	Ø—.‘. Ó&ˆCð ‰?Ø Ð,ˆE‰K÷w ‰%ðz €Løô_ ó 	ØŠIð	ûô> "ó Ø“ðûð8 .8¤¤
Ø-7¤¥
ûÜ0ó "à!Ü,ó %ó %ð%ûô !ó $ð $( &¨¨!¨ �IØ#“Hð	$ûô8 ó 	àŠCð	úsq   ¦P5 ÅQ Ê Q5Ê10QË!Q5ÌRÐR+ Ð5QÑQÑQÑQÑQ2Ñ2Q5Ñ5RÒRÒR(Ò'R(Ò+R:Ò9R:c                 ó°  ^^^^^• SSK n[        XU5      m/ n[        U 5      R                  5       R	                  5       mT(       d  gTR                  5        HN  u  nu  p‰n
U	S;   a  M  UR                  5       m[        U4S jT 5       5      (       d  M=  UR                  U5        MP     SSSSS.mUU4S jmUU4S	 jnUR                  US
9  SSR                  T5       S3nUS[        U5      -  /nUSSS2    Hµ  nTU   u  mpžTR                  5       R	                  S5       Vs/ s H)  oÿR                  5       (       d  M  UR                  5       PM+     nn US   R                  5       n[        R                  U5      (       a  US   R                  5       nUR                  U SU 35        M·     U(       d  UR                  S5        Ub!  UR                  SR                  U5      5        g[        U5      S:”  a(  UR!                  5       nU" SR                  U5      5        g[#        SR                  U5      5        gs  snf ! [         a    Sn N»f = f)a&  
Do a keyword search on docstrings.

A list of objects that matched the search is displayed,
sorted by relevance. All given keywords need to be found in the
docstring for it to be returned as a result, but the order does
not matter.

Parameters
----------
what : str
    String containing words to look for.
module : str or list, optional
    Name of module(s) whose docstrings to go through.
import_modules : bool, optional
    Whether to import sub-modules in packages. Default is True.
regenerate : bool, optional
    Whether to re-generate the docstring cache. Default is False.
output : file-like, optional
    File-like object to write the output to. If omitted, use a pager.

See Also
--------
source, info

Notes
-----
Relevance is determined only roughly, by checking if the keywords occur
in the function name, at the start of a docstring, etc.

Examples
--------
>>> np.lookfor('binary representation') # doctest: +SKIP
Search results for 'binary representation'
------------------------------------------
numpy.binary_repr
    Return the binary representation of the input number as a string.
numpy.core.setup_common.long_double_representation
    Given a binary dump as given by GNU od -b, look for long double
numpy.base_repr
    Return a string representation of a number in the given base system.
...

r   N)r   r   c              3   ó,   >#   • U  H	  oT;   v •  M     g 7f©N© )Ú.0ÚwrU   s     €r   Ú	<genexpr>Úlookfor.<locals>.<genexpr>ñ   s   øé € Ð'¢˜A�CŽx¢ùs   ƒiè  éüÿÿ)r   r   r   r   c                 óØ  >• SnSR                  UR                  5       R                  5       R                  S5      S S 5      nU[	        T Vs/ s H  ofU;   d  M
  SPM     sn5      -  nU[	        T Vs/ s H  ofU ;   d  M
  SPM     sn5      -  nU[        U 5      * S-  -  nUTR                  US5      -  nX@R                  S5      * S	-  -  nU[        U* S
-  S5      -  nU$ s  snf s  snf )Nr   Ú
é   éÈ   é   é   r^   r   é
   éd   iœÿÿÿ)	r5   ÚlowerÚstripÚsplitÚsumÚlenÚgetÚcountÚmax)	rG   ÚdocstrrH   rE   ÚrÚ	first_docr[   Úkind_relevanceÚwhatss	          €€r   Ú	relevanceÚlookfor.<locals>.relevanceú   sâ   ø€ Øˆà—I‘I˜fŸl™l›n×2Ñ2Ó4×:Ñ:¸4Ó@ÀÀ!ÐDÓEˆ	Ø	ŒS™uÓ7šu˜!¨Y©—#™uÑ7Ó8Ñ8ˆà	ŒS™eÓ1še˜¨D¡y—"™eÑ1Ó2Ñ2ˆà	Œc�$‹iˆZ˜!‰^Ñˆà	ˆ^×Ñ  eÓ,Ñ,ˆà	�j‰j˜‹oÐ Ñ"Ñ"ˆØ	ŒS�%�˜#‘˜tÓ$Ñ$ˆØˆùò 8ùâ1s   Á	C"
ÁC"
Á3	C'
Â C'
c                 ó   >• T" U /TU    Q76 $ rX   rY   )ÚarB   rt   s    €€r   Úrelevance_valueÚ lookfor.<locals>.relevance_value
  s   ø€ Ù˜Ð&˜U 1™XÒ&Ð&ó    )ÚkeyzSearch results for 'Ú Ú'Ú-éÿÿÿÿr`   r   Ú z
    zNothing found.re   )Úpydocr)   r!   rg   ri   ÚitemsÚallr=   Úsortr5   rk   rh   Ú_function_signature_reÚsearchÚ
IndexErrorÚwriteÚgetpagerÚprint)Úwhatr   r@   rA   Úoutputr�   ÚfoundrG   Ú	docstringrH   rE   rx   ÚsÚ	help_textÚixÚlineÚdoclinesrq   ÚpagerrB   rU   rr   rt   rs   s                      @@@@@r   Úlookforr•   ³   s  ü€ óZ ô $ F¸JÓG€Eð €EÜ�‹I�O‰OÓ×#Ñ#Ó%€EÞØà*/¯+©+®-Ñ&ˆÑ&ˆy ØÐ'Ó'áØ�o‰oÓˆÜÔ'¡Ó'×'Ó'Ø�L‰L˜Öñ +8ð #¨T¸UÈeÑT€Nöö 'ð 
‡J�J�?€JÑ#ð ˜sŸx™x¨›Ð/¨qÐ1€AØ�Cœ#˜a›&‘LÐ!€IØ‘d˜�d”ˆØ˜d™‰ˆˆTà-0¯Y©Y«[×->Ñ->¸tÔ-DÓUÒ-D TÏ
É
Ï“L�D—J‘J–LÑ-DˆÐUð	Ø  ™×)Ñ)Ó+ˆIÜ%×,Ñ,¨Y×7Ñ7Ø$ Q™K×-Ñ-Ó/�	ð 	×Ñ˜D˜6 ¨	 {Ð3Ö4ñ ö Ø×ÑÐ)Ô*ð ÑØ�‰�T—Y‘Y˜yÓ)Õ*Ü	ˆY‹˜"Ó	Ø—‘Ó ˆÙˆd�i‰i˜	Ó"Õ#äˆd�i‰i˜	Ó"Õ#ùò+ Vøô ó 	ØŠIð	ús   Ä&IÅIÅA IÉIÉI)NTFN)r$   r0   ÚreÚnumpyr   r+   ÚcompileÚIr…   r   r)   r•   rY   rz   r   Ú<module>rš      sD   ðó Û 	Û 	å ð €ð
 ŸšÐ$=¸r¿t¹tÓDÐ òòNõbw$rz   