⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
click
/
__pycache__
/
View File Name :
parser.cpython-312.pyc
Wd{J d Z ddlZddlmZ ddlmZ ddlmZ ddlm Z ddlm Z dd lmZ dd lmZ ej rddlZddlmZ ddlmZ dd lmZ ddlmZ ej0 d Z e Zdej8 e dej8 e dej> ej8 ej@ eej8 ejB e df ejD e f fdZ#dedej> eef fdZ$dedejB d defdZ%dedejD e fdZ& G d d Z G d d Z G d d Z' G d! d" Z(y)#a; This module started out as largely a copy paste from the stdlib's optparse module with the features removed that we do not need from optparse because we implement them in Click on a higher level (for instance type handling, help formatting and a lot more). The plan is to remove more and more from here over time. The reason this is a different module and not optparse from the stdlib is that there are differences in 2.x and 3.x about the error messages generated and optparse in the stdlib uses gettext for no good reason and might cause us issues. Click uses parts of optparse written by Gregory P. Ward and maintained by the Python Software Foundation. This is limited to code in parser.py. Copyright 2001-2006 Gregory P. Ward. All rights reserved. Copyright 2002-2006 Python Software Foundation. All rights reserved. N)deque)gettext)ngettext )BadArgumentUsage)BadOptionUsage)NoSuchOption) UsageError)Argument)Context)Option) ParameterVargs nargs_specreturnc T t | } t | }g }ddddt j t ffd}|r || }| |dk( r|j || n~|dkD rKt | D cg c] } || }}|j |j t | n.|dk r)t d t | |j d |r't | |<