AlkantarClanX12
Current Path : /opt/alt/python310/lib64/python3.10/__pycache__/ |
Current File : //opt/alt/python310/lib64/python3.10/__pycache__/pydoc.cpython-310.opt-2.pyc |
o 6��f#� � @ s4 d gZ dZdZdZddlZddlZddlZddlZddl Zddl Z ddlZddlZddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZ ddlmZ ddlmZ d d � Zdd� Zd d� Z dd� Z!dd� Z"dd� Z#dd� Z$dd� Z%dd� Z&dd� Z'dd� Z(dd � Z)e�*d!ej+�Z,d"d#� Z-d$d%� Z.d&d'� Z/d(d)� Z0d�d*d+�Z1d,d-� Z2d.d/� Z3d0d1� Z4d2d3� Z5i fd4d5�Z6G d6d7� d7e7�Z8d8d9� Z9di fd:d;�Z:G d<d=� d=�Z;G d>d?� d?e�Z<G d@dA� dAe;�Z=G dBdC� dCe�Z>G dDdE� dEe;�Z?G dFdG� dGe?�Z@dHdI� aAdJdK� ZBdLdM� ZCdNdO� ZDdPdQ� ZEdRdS� ZFdTdU� ZGdVdW� ZHdXdY� ZId�dZd[�ZJe?� ZKe@� ZLe=� ZMd�d\d]�ZN d�d_d`�ZO d�dadb�ZPd�dcdd�ZQd�dfdg�ZRG dhdi� di�ZSeS� ZTG djdk� dk�ZUdldm� ZVdndo� ZWd�dqdr�ZXd�dsdtdu�dvdw�ZYdxdy� ZZdzd{� Z[d|d}� Z\d~d� Z]e^d�k�r�e]� dS dS )��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 C s^ g } g }t jD ]$}tj�|pd�}tj�|�}||vr,tj�|�r,| �|� |�|� q| S �N�.)�sys�path�os�abspath�normcase�isdir�append)�dirsZnormdirs�dirZnormdir� r �,/opt/alt/python310/lib64/python3.10/pydoc.py�pathdirsR s �r c C s t �| �ot| tj� S �N)�inspectZisclass� isinstance�types�GenericAlias��objectr r r �_isclass^ s r c C sN t j�| j�}|d u r d S | j�d�d d� D ]}t||�}qt|�s%d S |S )Nr ���)r �modules�get� __module__�__qualname__�split�getattrr )�func�cls�namer r r � _findclassa s r&