File: //lib/python3.9/site-packages/certbot/_internal/display/__pycache__/completer.cpython-39.pyc
a
}|�g
� @ s� d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z zddl
Z
W n* ey� ddlm
m mZ
Y n0 G d d
� d
�ZdS )z8Provides Tab completion when prompting users for a path.� N)�
TracebackType)�Callable)�Iterator)�Literal)�Optional)�Typec @ sf e Zd ZdZdd�dd�Zeeee d�dd�Zdd�d d
�Z ee
e ee ee dd�d
d�Z
dS )� Completera/ Provides Tab completion when prompting users for a path.
This class is meant to be used with readline to provide Tab
completion for users entering paths. The complete method can be
passed to readline.set_completer directly, however, this function
works best as a context manager. For example:
with Completer():
raw_input()
In this example, Tab completion will be available during the call to
raw_input above, however, readline will be restored to its previous
state when exiting the body of the with statement.
N)�returnc C s | | | d S )N� ��selfr
r
�G/usr/lib/python3.9/site-packages/certbot/_internal/display/completer.py�__init__"