AlkantarClanX12
Current Path : /opt/alt/python33/lib64/python3.3/distutils/__pycache__/ |
Current File : //opt/alt/python33/lib64/python3.3/distutils/__pycache__/fancy_getopt.cpython-33.pyo |
� ��fxE c @ sK d Z d d l Z d d l Z d d l Z d d l Z d d l Td Z e j d e � Z e j d e e f � Z e j d d � Z Gd d � d � Z d d � Z d d � e j D� Z d d � Z d d � Z Gd d � d � Z e d k rGd Z xK d d d d f D]7 Z e d e � e d j e e e � � � e � q Wn d S( u6 distutils.fancy_getopt Wrapper around the standard getopt module that provides the following additional features: * short and long options are tied together * options have help strings, so fancy_getopt could potentially create a complete usage summary * options set attributes of a passed-in object i N( u *u [a-zA-Z](?:[a-zA-Z0-9-]*)u ^%s$u ^(%s)=!(%s)$u -u _c B s� | Ee Z d Z d Z d d d � Z d d � Z d d � Z d d d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d d d � Z d d � Z d d d � Z d d d d � Z d S( u FancyGetoptu� Wrapper around the standard 'getopt()' module that provides some handy extra functionality: * short and long options are tied together * options have help strings, and help text can be assembled from them * options set attributes of a passed-in object * boolean options can have "negative aliases" -- eg. if --quiet is the "negative alias" of --verbose, then "--quiet" on the command line sets 'verbose' to false c C st | | _ i | _ | j r( | j � n i | _ i | _ g | _ g | _ i | _ i | _ i | _ g | _ d S( N( u option_tableu option_indexu _build_indexu aliasu negative_aliasu short_optsu long_optsu short2longu attr_nameu takes_argu option_order( u selfu option_table( ( u; /opt/alt/python33/lib64/python3.3/distutils/fancy_getopt.pyu __init__) s u FancyGetopt.__init__c C s6 | j j � x"