Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /opt/alt/python311/lib64/python3.11/__pycache__/ |
� �,d1� � �� � d Z dgZdZdZdZddlZddlZddlZddl Zddl ZddlZddlZddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZ ddlmZ dd lmZ d � Zd� Z d� Z!d � Z"d� Z#d� Z$d� Z%d� Z&d� Z'd� Z(d� Z) ej* dej+ � � Z,d� Z-d� Z.d� Z/d� Z0 e1ej2 � � Z3dRd�Z4d� Z5d� Z6d� Z7d� Z8i fd�Z9 G d � d!e:� � Z;d"� Z<di fd#�Z= G d$� d%� � Z> G d&� d'e� � Z? G d(� d)e>� � Z@ G d*� d+e� � ZA G d,� d-e>� � ZB G d.� d/eB� � ZCd0� aDd1� ZEd2� ZFd3� ZGd4� ZHd5� ZId6� ZJd7� ZKd8� ZLdSd9�ZM eB� � ZN eC� � ZO e@� � ZPdSd:�ZQ dTd<�ZR dTd=�ZSdSd>�ZTdUd@�ZU G dA� dB� � ZV eV� � ZW G dC� dD� � ZXdE� ZYdF� ZZdVdH�Z[dSdIdJdK�dL�Z\dM� Z]dN� Z^dO� Z_dP� Z`eadQk r e`� � dS dS )Wa Generate Python documentation in HTML or text for interactive use. At the Python interactive prompt, calling help(thing) on a Python object documents the object, and calling help() starts up an interactive help session. Or, at the shell command line outside of Python: Run "pydoc <name>" to show documentation on something. <name> may be the name of a function, module, package, or a dotted reference to a class or function within a module or module in a package. If the argument contains a path segment delimiter (e.g. slash on Unix, backslash on Windows) it is treated as the path to a Python source file. Run "pydoc -k <keyword>" to search for a keyword in the synopsis lines of all available modules. Run "pydoc -n <hostname>" to start an HTTP server with the given hostname (default: localhost) on the local machine. Run "pydoc -p <port>" to start an HTTP server on the given port on the local machine. Port number 0 can be used to get an arbitrary unused port. Run "pydoc -b" to start an HTTP server on an arbitrary unused port and open a web browser to interactively browse documentation. Combine with the -n and -p options to control the hostname and port used. Run "pydoc -w <name>" to write out the HTML documentation for a module to a file named "<name>.html". Module docs for core modules are assumed to be in https://docs.python.org/X.Y/library/ This can be overridden by setting the PYTHONDOCS environment variable to a different URL or to a local directory containing the Library Reference Manual pages. �helpzKa-Ping Yee <ping@lfw.org>z26 February 2001z�Guido van Rossum, for an excellent programming language. Tommy Burnette, the original creator of manpy. Paul Prescod, for all his work on onlinehelp. Richard Chamberlain, for the first implementation of textdoc. � N)�deque)�Repr)�format_exception_onlyc �F � g } g }t j D ]�}t j � |pd� � }t j � |� � }||vrIt j � |� � r*| � |� � |� |� � ��| S )zAConvert sys.path into a list of absolute, existing, unique paths.�.)�sys�path�os�abspath�normcase�isdir�append)�dirs�normdirs�dir�normdirs �,/opt/alt/python311/lib64/python3.11/pydoc.py�pathdirsr R s� � � �D��H��x� %� %���g�o�o�c�j�S�)�)���'�"�"�3�'�'���(�"�"�r�w�}�}�S�'9�'9�"��K�K������O�O�G�$�$�$���K� c �� � t j � | j � � }|�d S | j � d� � d d� D ]}t ||� � }�t j |� � sd S |S )Nr ���) r �modules�get� __module__�__qualname__�split�getattr�inspect�isclass)�func�cls�names r � _findclassr$ ^ sw � � �+�/�/�$�/� *� *�C� �{��t��!�'�'��,�,�S�b�S�1� !� !���c�4� � ����?�3��� ��t��Jr c �J � t j | � � rZ| j j }| j }t j |� � r*t t ||d � � d� � | j u r|}�n~|j }�nut j | � � r.| j }t | � � }|�t ||� � | urd S �n3t j | � � rC| j }| j }t j |� � r|j dz |z | j k r|}n�|j }n�t | t � � r4| j }|j }t |� � }|�t ||� � | urd S n�t j | � � st j | � � ri| j }| j }t ||� � | urd S t j | � � r2t |dd � � }t |t&