관리-도구
편집 파일: pager.cpython-311.pyc
� �܋f< � �. � d dl mZmZ d dlmZ G d� de� � Z G d� de� � Zedk rddd lm Z dd l mZ e� � Z e � d�� � 5 e � e � � � � d d d � � d S # 1 swxY w Y d S d S )� )�ABC�abstractmethod)�Anyc �2 � e Zd ZdZededdfd�� � ZdS )�PagerzBase class for a pager.�content�returnNc � � dS )zbShow content in pager. Args: content (str): Content to be displayed. N� ��selfr s �M/opt/cloudlinux/venv/lib64/python3.11/site-packages/pip/_vendor/rich/pager.py�showz Pager.show s � � � � )�__name__� __module__�__qualname__�__doc__r �strr r r r r r sF � � � � � �!�!���C� �D� � � � �^�� � r r c �2 � e Zd ZdZdedefd�Zdeddfd�ZdS )�SystemPagerz'Uses the pager installed on the system.r r c �F � t d� � � |� � S )N�pydoc)� __import__�pagerr s r �_pagerzSystemPager._pager s � ��'�"�"�(�(��1�1�1r Nc �0 � | � |� � dS )z!Use the same pager used by pydoc.N)r r s r r zSystemPager.show s � ����G�����r )r r r r r r r r r r r r r s^ � � � � � �1�1�2�c� 2�c� 2� 2� 2� 2��C� �D� � � � � � r r �__main__� )�make_test_card)�ConsoleT)�stylesN)�abcr r �typingr r r r r r �consoler! r �printr r r �<module>r'