관리-도구
편집 파일: pydoc.cpython-37.opt-2.pyc
B f�� � @ s� d gZ dZdZdZddlZddlZddlZddlZddl Zddl Z ddlZddlZddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlmZ ddlmZ ddlmZ d d � Zdd� Zd d� Zdd� Z dd� Z!dd� Z"dd� Z#e�$dej%�Z&dd� Z'dd� Z(dd� Z)dd� Z*d d!� Z+dyd"d#�Z,d$d%� Z-d&d'� Z.d(d)� Z/d*d+� Z0i fd,d-�Z1G d.d/� d/e2�Z3d0d1� Z4di fd2d3�Z5G d4d5� d5�Z6G d6d7� d7e�Z7G d8d9� d9e6�Z8G d:d;� d;e�Z9G d<d=� d=e6�Z:G d>d?� d?e:�Z;d@dA� a<dBdC� Z=dDdE� Z>dFdG� Z?dHdI� Z@dJdK� ZAdLdM� ZBdNdO� ZCdPdQ� ZDdzdRdS�ZEe:� ZFe;� ZGe8� ZHd{dTdU�ZId|dWdX�ZJd}dYdZ�ZKd~d[d\�ZLdd^d_�ZMG d`da� da�ZNeN� ZOG dbdc� dc�ZPddde� ZQdfdg� ZRd�didj�ZSd�dkdldm�dndo�ZTdpdq� ZUdrds� ZVdtdu� ZWdvdw� ZXeYdxk�r�eX� 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 }xRt jD ]H}tj�|p d�}tj�|�}||krtj�|�r| �|� |�|� qW | S )N�.)�sys�path�os�abspath�normcase�isdir�append)�dirsZnormdirs�dirZnormdir� r �*/opt/alt/python37/lib64/python3.7/pydoc.py�pathdirsQ s r c C s. t �| �pt �| �}|r*t�dd|�� �p,dS )Nz^ * � )�inspect�getdocZgetcomments�re�sub�rstrip)�object�resultr r r r ] s r c C sf | � � �d�}t|�dkr&|d dfS t|�dkrX|d �� sX|d d�|dd � �fS dd�|�fS )N� � r r � )�strip�split�lenr �join)�doc�linesr r r �splitdocb s r$ c C s"