Your IP : 18.224.54.118
�
c��f�� � � � d Z dZg d�ZdZddlZddlZddlZd� Z ddlmZm Z n# e
$ r d� Zd � Z Y nw xY weZ G d
� de� � Z
G d� d
e
� � Z G d� de� � Z G d� de
� � Z G d� de
� � Z G d� de� � Z G d� d� � Z G d� de� � Z G d� de� � Zd� Zd� Ze ed� � fe ed� � fe ed� � fe ed � � fd!�Zd"� Zd#� Zd$Z G d%� d&� � Zd'Zd(Z G d)� d*� � Z! G d+� d,� � Z" G d-� d.e"� � Z# G d/� d0e"� � Z$d1� Z%eZ&dS )2a� A powerful, extensible, and easy-to-use option parser.
By Greg Ward <gward@python.net>
Originally distributed as Optik.
For support, use the optik-users@lists.sourceforge.net mailing list
(http://lists.sourceforge.net/lists/listinfo/optik-users).
Simple usage example:
from optparse import OptionParser
parser = OptionParser()
parser.add_option("-f", "--file", dest="filename",
help="write report to FILE", metavar="FILE")
parser.add_option("-q", "--quiet",
action="store_false", dest="verbose", default=True,
help="don't print status messages to stdout")
(options, args) = parser.parse_args()
z1.5.3)�Option�make_option�
SUPPRESS_HELP�SUPPRESS_USAGE�Values�OptionContainer�OptionGroup�OptionParser�
HelpFormatter�IndentedHelpFormatter�TitledHelpFormatter�
OptParseError�OptionError�OptionConflictError�OptionValueError�BadOptionError�check_choicea"
Copyright (c) 2001-2006 Gregory P. Ward. All rights reserved.
Copyright (c) 2002-2006 Python Software Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the author nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
� Nc �@ � d| j j t | � � | fz S )Nz<%s at 0x%x: %s>)� __class__�__name__�id��selfs �//opt/alt/python311/lib64/python3.11/optparse.py�_reprr O s � ����!8�"�T�(�(�D� I�I�I� )�gettext�ngettextc � � | S �N� )�messages r r r \ s � ��r c � � |dk r| S |S �N� r! )�singular�plural�ns r r r _ s � ���6�6��O��
r c � � e Zd Zd� Zd� ZdS )r
c � � || _ d S r ��msg�r r, s r �__init__zOptParseError.__init__h s
� �����r c � � | j S r r+ r s r �__str__zOptParseError.__str__k s � ��x�r N)r �
__module__�__qualname__r. r0 r! r r r
r
g s2 � � � � � �� � �� � � � r r
c � � e Zd ZdZd� Zd� ZdS )r z]
Raised if an Option instance is created with invalid or
inconsistent arguments.
c �<