%PDF- %PDF-
Direktori : /lib64/python2.7/ |
Current File : //lib64/python2.7/getopt.pyc |
� zfc @ s� d Z d d d d g Z d d l Z d e f d � � YZ e Z g d � Z g d � Z d � Z d � Z d � Z d � Z e d k r� d d l Z e e j d d d d g � GHn d S( s� Parser for command line options. This module helps scripts to parse the command line arguments in sys.argv. It supports the same conventions as the Unix getopt() function (including the special meanings of arguments of the form `-' and `--'). Long options similar to those supported by GNU software may be used as well via an optional third argument. This module provides two functions and an exception: getopt() -- Parse command line options gnu_getopt() -- Like getopt(), but allow option and non-option arguments to be intermixed. GetoptError -- exception (class) raised with 'opt' attribute, which is the option involved with the exception. t GetoptErrort errort getoptt gnu_getopti����Nc B s) e Z d Z d Z d d � Z d � Z RS( t c C s) | | _ | | _ t j | | | � d S( N( t msgt optt Exceptiont __init__( t selfR R ( ( s /usr/lib64/python2.7/getopt.pyR ) s c C s | j S( N( R ( R ( ( s /usr/lib64/python2.7/getopt.pyt __str__. s ( t __name__t __module__R R R R ( ( ( s /usr/lib64/python2.7/getopt.pyR &