관리-도구
편집 파일: pydoc.cpython-39.opt-2.pyc
a R�f,� � @ s& 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]�ZNd�d_d`�ZOd�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 )��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 ]H}tj�|pd�}tj�|�}||vrtj�|�r| �|� |�|� q| S �N�.)�sys�path�os�abspath�normcase�isdir�append)�dirsZnormdirs�dirZnormdir� r �*/opt/alt/python39/lib64/python3.9/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 rd S | j�d�d d� D ]}t||�}q.t|�sJd S |S )Nr ���)r �modules�get� __module__�__qualname__�split�getattrr )�func�cls�namer r r � _findclassa s r&