Current File : //usr/lib/python3/dist-packages/twisted/application/twist/__pycache__/_options.cpython-312.pyc |
�
Ϫ�f� � � � d Z ddlZddlmZmZ ddlmZ ddlmZmZm Z m
Z
mZmZm
Z
ddlmZ ddlmZ ddlmZmZmZmZ dd lmZ dd
lmZmZ ddlmZmZmZ dd
l m!Z!m"Z" ddl#m$Z$ e%Z&dede'gdf de'ddfd�Z( G d� de� Z)y)z$
Command line options for C{twist}.
� N)�stderr�stdout)�dedent)�Callable�Iterable�Mapping�Optional�Sequence�Tuple�cast)�version)�IReactorCore)�InvalidLogLevelError�LogLevel�jsonFileLogObserver�textFileLogObserver)�
getPlugins)�Options�
UsageError� )�
NoSuchReactor�getReactorTypes�installReactor)�
ExitStatus�exit)�
IServiceMaker�opt�TwistOptions�kwargs�returnc �` � t | j xs d� j di |��| _ y)z�
Update the docstring of a method that implements an option.
The string is dedented and the given keyword arguments are substituted.
� N� )r �__doc__�format)r r s �D/usr/lib/python3/dist-packages/twisted/application/twist/_options.py�_update_docr'