Your IP : 3.144.123.61
U
��.e̠ � @ 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*dwd d!�Z+d"d#� Z,d$d%� Z-d&d'� Z.d(d)� Z/i fd*d+�Z0G d,d-� d-e1�Z2d.d/� Z3di fd0d1�Z4G d2d3� d3�Z5G d4d5� d5e�Z6G d6d7� d7e5�Z7G d8d9� d9e�Z8G d:d;� d;e5�Z9G d<d=� d=e9�Z:d>d?� a;d@dA� Z<dBdC� Z=dDdE� Z>dFdG� Z?dHdI� Z@dJdK� ZAdLdM� ZBdNdO� ZCdxdPdQ�ZDe9� ZEe:� ZFe7� ZGdydRdS�ZHdzdUdV�ZId{dWdX�ZJd|dYdZ�ZKd}d\d]�ZLG d^d_� d_�ZMeM� ZNG d`da� da�ZOdbdc� ZPddde� ZQd~dgdh�ZRddidjdk�dldm�ZSdndo� ZTdpdq� ZUdrds� ZVdtdu� ZWeXdvk�r�eW� 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�|�}||krtj�|�r| �|� |�|� q| S �N�.)�sys�path�os�abspath�normcase�isdir�append)�dirsZnormdirs�dirZnormdir� r �/usr/lib64/python3.8/pydoc.py�pathdirsP 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 �splitdoca s r% c C s"