
    -PhM                        U d Z ddlmZ dZddlmZ ddlmZ ddlZddl	m
Z
 ddlmZmZmZ dd	lmZmZmZmZmZmZmZmZmZ dd
lmZ erddlmZ ddlmZ ddZdeddfiZ de!d<   ddZ"dS )a  Insert links to objects documented in remote Sphinx documentation.

This works as follows:

* Each Sphinx HTML build creates a file named "objects.inv" that contains a
  mapping from object names to URIs relative to the HTML set's root.

* Projects using the Intersphinx extension can specify links to such mapping
  files in the `intersphinx_mapping` config value.  The mapping will then be
  used to resolve otherwise missing references to objects into links to the
  other documentation.

* By default, the mapping file is assumed to be at the same location as the
  rest of the documentation; however, the location of the mapping file can
  also be specified individually, e.g. if the docs should be buildable
  without Internet access.
    )annotations)IntersphinxDispatcherIntersphinxRoleIntersphinxRoleResolverInventoryAdapterfetch_inventoryinspect_maininstall_dispatcherinventory_existsload_mappingsmissing_referenceresolve_reference_any_inventory"resolve_reference_detect_inventoryresolve_reference_in_inventoryvalidate_intersphinx_mapping)NoneType)TYPE_CHECKINGN)r	   )r   r   r   )	r   r   r   r
   r   r   r   r   r   )r   )Sphinx)ExtensionMetadataappr   returnr   c                (   |                      di dt          t          h                     |                      dddt          t          h                     |                      dddt          t          h                     |                      dd dt          t
          t          t          h                     |                      d	d
gdt          t          t          t          t          h                     | 
                    dt          d           | 
                    dt                     | 
                    dt                     | 
                    dt                     |                     t                      t"          j        dddS )Nintersphinx_mappingenv)typesintersphinx_resolve_self intersphinx_cache_limit   intersphinx_timeoutintersphinx_disabled_reftypeszstd:doczconfig-initedi   )priorityzbuilder-initedzsource-readzmissing-reference   T)versionenv_versionparallel_read_safe)add_config_value	frozensetdictstrintfloatr   listsettupleconnectr   r   r
   r   add_post_transformr   sphinx__display_version__)r   s    _/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/sphinx/ext/intersphinx/__init__.pysetupr5   B   sz   .ED6ARARSSS3RiQTPUFVFVWWW2ArC5AQAQRRRtRy%h9O/P/P     '	D#u566	     KK!=KLLLKK -000KK1222KK#%67772333-"      normalize_intersphinx_mappingz3sphinx.ext.intersphinx.validate_intersphinx_mapping)
   r   z.dict[str, tuple[object, str, tuple[int, int]]]_DEPRECATED_OBJECTSnamer*   objectc                    | t           vrdt          d| }t          |          ddlm} t           |          \  }}} |t          | ||           |S )Nzmodule z has no attribute r   )_deprecation_warning)remove)r9   __name__AttributeErrorsphinx.deprecationr=   )r:   msgr=   deprecated_objectcanonical_namer>   s         r4   __getattr__rE   e   su    &&&>>>d>>S!!!7777770CD0I-~v4GGGGr6   )r   r   r   r   )r:   r*   r   r;   )#__doc__
__future__r   __all__r   r   typingr   r2   sphinx.ext.intersphinx._clir	   sphinx.ext.intersphinx._loadr   r   r   sphinx.ext.intersphinx._resolver   r   r   r
   r   r   r   r   r   sphinx.ext.intersphinx._sharedr   sphinx.applicationr   sphinx.util.typingr   r5   r9   __annotations__rE    r6   r4   <module>rR      s    $ # " " " " ""                    4 4 4 4 4 4         

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 < ; ; ; ; ; 5))))))444444   6 $$=&G     	 	 	 	 	 	r6   