§
    �Ÿj	  ã                   ó    — d Z ddlZddlZd„ ZdS )z[Utility functions for finding modules

Utility functions for finding modules on sys.path.

é    Nc                 óÐ   — t           j                             | ¦  «        }|j        }|€|j        t
          j        v r|j        S dS |                     d¦  «        }|d         dv r|S dS )a¡  
    Find module `module_name` on sys.path, and return the path to module `module_name`.

      - If `module_name` refers to a module directory, then return path to __init__ file.
        - If `module_name` is a directory without an __init__file, return None.
      - If module is missing or does not have a `.py` or `.pyw` extension, return None.
        - Note that we are not interested in running bytecode.
      - Otherwise, return the fill path of the module.

    Parameters
    ----------
    module_name : str

    Returns
    -------
    module_path : str
        Path to module `module_name`, its __init__.py, or None,
        depending on above conditions.
    Nú.éÿÿÿÿ)ÚpyÚpyw)Ú	importlibÚutilÚ	find_specÚoriginÚloaderÚsysÚ	meta_pathÚsplit)Úmodule_nameÚspecÚmodule_pathÚ
split_paths       úg/var/www/finuniver-perm.ru/html/student/venv/lib/python3.11/site-packages/IPython/utils/module_paths.pyÚfind_modr   '   so   € õ( Œ>×#Ò# KÑ0Ô0€DØ”+€KØÐØŒ;�#œ-Ð'Ð'Ø”;ÐØˆtà ×&Ò& sÑ+Ô+ˆ
Ø�bŒ>˜]Ð*Ð*ØÐà�4ó    )Ú__doc__r   r   r   © r   r   ú<module>r      s?   ððð ð$ Ð Ð Ð Ø 
€
€
€
ð&ð ð ð ð r   