ó
ˆwÛjc           @   sö  d  Z  d Z d d d d d d d d	 d
 d d d d d d d g Z d d l Z d d l Z d d l Z d d l	 Z
 d d l Z d d l Z d d l m Z d „  Z d Z d Z d Z d Z d Z d Z d Z d e f d „  ƒ  YZ d „  Z d e f d  „  ƒ  YZ d e f d! „  ƒ  YZ d	 e f d" „  ƒ  YZ d e f d# „  ƒ  YZ d$ „  Z  d e! f d% „  ƒ  YZ" d e! f d& „  ƒ  YZ# d e f d' „  ƒ  YZ$ d( e$ f d) „  ƒ  YZ% d* e$ f d+ „  ƒ  YZ& d, e& f d- „  ƒ  YZ' d. e& f d/ „  ƒ  YZ( d0 e$ f d1 „  ƒ  YZ) d2 e$ f d3 „  ƒ  YZ* d4 e$ f d5 „  ƒ  YZ+ d6 e$ f d7 „  ƒ  YZ, d8 e$ f d9 „  ƒ  YZ- d: e$ f d; „  ƒ  YZ. d e f d< „  ƒ  YZ/ d
 e f d= „  ƒ  YZ0 d> e f d? „  ƒ  YZ1 d@ e1 f dA „  ƒ  YZ2 dB e2 f dC „  ƒ  YZ3 d e e1 f dD „  ƒ  YZ4 d S(E   sû
  Command-line parsing library

This module is an optparse-inspired command-line parsing library that:

    - handles both optional and positional arguments
    - produces highly informative usage messages
    - supports parsers that dispatch to sub-parsers

The following is a simple usage example that sums integers from the
command-line and writes the result to a file::

    parser = argparse.ArgumentParser(
        description='sum the integers at the command line')
    parser.add_argument(
        'integers', metavar='int', nargs='+', type=int,
        help='an integer to be summed')
    parser.add_argument(
        '--log', default=sys.stdout, type=argparse.FileType('w'),
        help='the file where the sum should be written')
    args = parser.parse_args()
    args.log.write('%s' % sum(args.integers))
    args.log.close()

The module contains the following public classes:

    - ArgumentParser -- The main entry point for command-line parsing. As the
        example above shows, the add_argument() method is used to populate
        the parser with actions for optional and positional arguments. Then
        the parse_args() method is invoked to convert the args at the
        command-line into an object with attributes.

    - ArgumentError -- The exception raised by ArgumentParser objects when
        there are errors with the parser's actions. Errors raised while
        parsing the command-line are caught by ArgumentParser and emitted
        as command-line messages.

    - FileType -- A factory for defining types of files to be created. As the
        example above shows, instances of FileType are typically passed as
        the type= argument of add_argument() calls.

    - Action -- The base class for parser actions. Typically actions are
        selected by passing strings like 'store_true' or 'append_const' to
        the action= argument of add_argument(). However, for greater
        customization of ArgumentParser actions, subclasses of Action may
        be defined and passed as the action= argument.

    - HelpFormatter, RawDescriptionHelpFormatter, RawTextHelpFormatter,
        ArgumentDefaultsHelpFormatter -- Formatter classes which
        may be passed as the formatter_class= argument to the
        ArgumentParser constructor. HelpFormatter is the default,
        RawDescriptionHelpFormatter and RawTextHelpFormatter tell the parser
        not to change the formatting for help text, and
        ArgumentDefaultsHelpFormatter adds information about argument defaults
        to the help.

All other classes in this module are considered implementation details.
(Also note that HelpFormatter and RawDescriptionHelpFormatter are only
considered public as object names -- the API of the formatter objects is
still considered an implementation detail.)
s   1.1t   ArgumentParsert   ArgumentErrort   ArgumentTypeErrort   FileTypet   HelpFormattert   ArgumentDefaultsHelpFormattert   RawDescriptionHelpFormattert   RawTextHelpFormattert	   Namespacet   Actiont   ONE_OR_MOREt   OPTIONALt   PARSERt	   REMAINDERt   SUPPRESSt   ZERO_OR_MOREiÿÿÿÿN(   t   gettextc         C   s   t  |  d ƒ p t  |  d ƒ S(   Nt   __call__t	   __bases__(   t   hasattr(   t   obj(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt	   _callable_   s    s   ==SUPPRESS==t   ?t   *t   +s   A...s   ...t   _unrecognized_argst   _AttributeHolderc           B   s)   e  Z d  Z d „  Z d „  Z d „  Z RS(   s  Abstract base class that provides __repr__.

    The __repr__ method returns a string in the format::
        ClassName(attr=name, attr=name, ...)
    The attributes are determined either by a class-level attribute,
    '_kwarg_names', or by inspecting the instance __dict__.
    c         C   sŠ   t  |  ƒ j } g  } x' |  j ƒ  D] } | j t | ƒ ƒ q" Wx1 |  j ƒ  D]# \ } } | j d | | f ƒ qL Wd | d j | ƒ f S(   Ns   %s=%rs   %s(%s)s   , (   t   typet   __name__t	   _get_argst   appendt   reprt   _get_kwargst   join(   t   selft	   type_namet   arg_stringst   argt   namet   value(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   __repr__y   s    c         C   s   t  |  j j ƒ  ƒ S(   N(   t   sortedt   __dict__t   items(   R"   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR    ‚   s    c         C   s   g  S(   N(    (   R"   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   …   s    (   R   t
   __module__t   __doc__R(   R    R   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   p   s   			c         C   s8   t  |  | d  ƒ d  k r+ t |  | | ƒ n  t  |  | ƒ S(   N(   t   getattrt   Nonet   setattr(   t	   namespaceR&   R'   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   _ensure_value‰   s    c           B   s  e  Z d  Z d d d d „ Z d „  Z d „  Z d e f d „  ƒ  YZ d „  Z	 d	 „  Z
 d
 „  Z d „  Z d d „ Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z RS(   s×   Formatter for generating usage messages and argument help strings.

    Only the name of this class is considered a public API. All the methods
    provided by the class are considered an implementation detail.
    i   i   c         C   sû   | d  k rP y t t j d ƒ } Wn t t f k
 rB d } n X| d 8} n  | |  _ | |  _ | |  _ t	 | t
 | d | d ƒ ƒ |  _ | |  _ d |  _ d |  _ d |  _ |  j |  d  ƒ |  _ |  j |  _ t j d ƒ |  _ t j d ƒ |  _ d  S(   Nt   COLUMNSiP   i   i   i    s   \s+s   \n\n\n+(   R/   t   intt   _ost   environt   KeyErrort
   ValueErrort   _progt   _indent_incrementt   _max_help_positiont   mint   maxt   _widtht   _current_indentt   _levelt   _action_max_lengtht   _Sectiont   _root_sectiont   _current_sectiont   _ret   compilet   _whitespace_matchert   _long_break_matcher(   R"   t   progt   indent_incrementt   max_help_positiont   width(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   __init__š   s&    
							c         C   s%   |  j  |  j 7_  |  j d 7_ d  S(   Ni   (   R?   R:   R@   (   R"   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   _indent¼   s    c         C   s%   |  j  |  j 8_  |  j d 8_ d  S(   Ni   (   R?   R:   R@   (   R"   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   _dedentÀ   s    RB   c           B   s   e  Z d d  „ Z d „  Z RS(   c         C   s(   | |  _  | |  _ | |  _ g  |  _ d  S(   N(   t	   formattert   parentt   headingR+   (   R"   RP   RQ   RR   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   Ç   s    			c         C   s  |  j  d  k	 r |  j j ƒ  n  |  j j } x! |  j D] \ } } | | Œ  q5 W| g  |  j D] \ } } | | Œ  ^ q\ ƒ } |  j  d  k	 rœ |  j j ƒ  n  | s¦ d S|  j t k	 ré |  j d  k	 ré |  j j	 } d | d |  j f } n d } | d | | d g ƒ S(   Nt    s   %*s%s:
s   
(
   RQ   R/   RP   RN   t   _join_partsR+   RO   RR   R   R?   (   R"   R!   t   funct   argst	   item_helpt   current_indentRR   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   format_helpÍ   s    .N(   R   R,   R/   RM   RY   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRB   Å   s   c         C   s   |  j  j j | | f ƒ d  S(   N(   RD   R+   R   (   R"   RU   RV   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt	   _add_itemæ   s    c         C   sB   |  j  ƒ  |  j |  |  j | ƒ } |  j | j g  ƒ | |  _ d  S(   N(   RN   RB   RD   RZ   RY   (   R"   RR   t   section(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   start_sectionì   s    
c         C   s   |  j  j |  _  |  j ƒ  d  S(   N(   RD   RQ   RO   (   R"   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   end_sectionò   s    c         C   s5   | t  k	 r1 | d  k	 r1 |  j |  j | g ƒ n  d  S(   N(   R   R/   RZ   t   _format_text(   R"   t   text(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   add_textö   s    c         C   s8   | t  k	 r4 | | | | f } |  j |  j | ƒ n  d  S(   N(   R   RZ   t   _format_usage(   R"   t   usaget   actionst   groupst   prefixRV   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt	   add_usageú   s    c         C   s¸   | j  t k	 r´ |  j } | | ƒ g } x* |  j | ƒ D] } | j | | ƒ ƒ q7 Wt g  | D] } t | ƒ ^ q^ ƒ } | |  j } t |  j | ƒ |  _ |  j	 |  j
 | g ƒ n  d  S(   N(   t   helpR   t   _format_action_invocationt   _iter_indented_subactionsR   R=   t   lenR?   RA   RZ   t   _format_action(   R"   t   actiont   get_invocationt   invocationst	   subactiont   st   invocation_lengtht   action_length(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   add_argumentÿ   s    	%	c         C   s"   x | D] } |  j  | ƒ q Wd  S(   N(   Rs   (   R"   Rc   Rl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   add_arguments  s    c         C   sD   |  j  j ƒ  } | r@ |  j j d | ƒ } | j d ƒ d } n  | S(   Ns   

s   
(   RC   RY   RH   t   subt   strip(   R"   Rg   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRY     s
    c         C   s2   d j  g  | D] } | r | t k	 r | ^ q ƒ S(   NRS   (   R!   R   (   R"   t   part_stringst   part(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRT     s    	
c            så  | d  k r t d ƒ } n  | d  k	 r@ | t d |  j ƒ } n—| d  k rl | rl d t d |  j ƒ } nk| d  k r×d t d |  j ƒ } g  } g  } x4 | D], } | j rÀ | j | ƒ q¡ | j | ƒ q¡ W|  j }	 |	 | | | ƒ }
 d j g  | |
 g D] } | r | ^ q ƒ } |  j |  j	 ‰  t
 | ƒ t
 | ƒ ˆ  k r×d } |	 | | ƒ } |	 | | ƒ } t j | | ƒ } t j | | ƒ } d  ‡  f d † } t
 | ƒ t
 | ƒ d ˆ  k rEd t
 | ƒ t
 | ƒ d } | r| | g | | | ƒ } | j | | | ƒ ƒ qÂ| r9| | g | | | ƒ } qÂ| g } n} d t
 | ƒ } | | } | | | ƒ } t
 | ƒ d k rµg  } | j | | | ƒ ƒ | j | | | ƒ ƒ n  | g | } d	 j | ƒ } q×n  d
 | | f S(   Ns   usage: RI   s   %(prog)st    s%   \(.*?\)+(?=\s|$)|\[.*?\]+(?=\s|$)|\S+c            s  g  } g  } | d  k	 r+ t | ƒ d } n t | ƒ d } x‚ |  D]z } | d t | ƒ ˆ  k r› | r› | j | d j | ƒ ƒ g  } t | ƒ d } n  | j | ƒ | t | ƒ d 7} qB W| rã | j | d j | ƒ ƒ n  | d  k	 r
| d t | ƒ | d <n  | S(   Ni   Ry   i    (   R/   Rj   R   R!   (   t   partst   indentRe   t   linest   linet   line_lenRx   (   t
   text_width(    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt	   get_linesT  s"     g      è?i   s   
s   %s%s

(   R/   t   _t   dictR9   t   option_stringsR   t   _format_actions_usageR!   R>   R?   Rj   RE   t   findallt   extend(   R"   Rb   Rc   Rd   Re   RI   t	   optionalst   positionalsRl   t   formatt   action_usageRp   t   part_regexpt	   opt_usaget	   pos_usaget	   opt_partst	   pos_partsR€   R{   R|   Rz   (    (   R   s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRa   $  sV    		. 
c         C   s¤  t  ƒ  } i  } x&| D]} y | j | j d ƒ } Wn t k
 rL q q X| t | j ƒ } | | | !| j k r x | j D] } | j | ƒ q€ W| j sÖ | | k r¿ | | c d 7<n
 d | | <d | | <n3 | | k rõ | | c d 7<n
 d | | <d | | <x( t | d | ƒ D] }	 d	 | |	 <qWq q Wg  }
 x‚t | ƒ D]t\ }	 } | j	 t
 k rÈ|
 j d  ƒ | j |	 ƒ d	 k r˜| j |	 ƒ q¿| j |	 d ƒ d	 k r¿| j |	 d ƒ q¿qK| j s5|  j | | j ƒ } | | k r%| d d k r%| d
 d k r%| d d
 !} q%n  |
 j | ƒ qK| j d } | j d k r^d | } n1 | j j ƒ  } |  j | | ƒ } d | | f } | j r²| | k r²d | } n  |
 j | ƒ qKWx. t | d t ƒD] }	 | |	 g |
 |	 |	 +qÖWd j g  |
 D] } | d  k	 r| ^ qƒ } d } d } t j d | d | ƒ } t j d | d | ƒ } t j d | | f d | ƒ } t j d d | ƒ } | j ƒ  } | S(   Ni    s    [t   [t   ]s    (t   (t   )i   t   |iÿÿÿÿs   %ss   %s %ss   [%s]t   reverseRy   s   [\[(]s   [\])]s   (%s) s   \1s    (%s)s   %s *%sRS   s   \(([^|]*)\)(   t   sett   indext   _group_actionsR8   Rj   t   addt   requiredt   ranget	   enumerateRg   R   R   R/   t   gett   popRƒ   t   _format_argst   destt   nargst   upperR)   t   TrueR!   RE   Ru   Rv   (   R"   Rc   Rd   t   group_actionst   insertst   groupt   startt   endRl   t   iRz   Rx   t   option_stringt   defaultt   args_stringt   itemR_   t   opent   close(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR„   „  sp    		


	 .c         C   sb   d | k r% | t  d |  j ƒ } n  t |  j |  j d ƒ } d |  j } |  j | | | ƒ d S(   Ns   %(prog)RI   i   Ry   s   

(   R‚   R9   R=   R>   R?   t
   _fill_text(   R"   R_   R   R{   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR^   ä  s
    c         C   s²  t  |  j d |  j ƒ } t |  j | d ƒ } | |  j d } |  j | ƒ } | j sw |  j d | f } d | } n\ t | ƒ | k r± |  j d | | f } d | } d } n" |  j d | f } d | } | } | g } | j rV|  j	 | ƒ }	 |  j
 |	 | ƒ }
 | j d | d |
 d f ƒ xN |
 d D]  } | j d | d | f ƒ q/Wn | j d ƒ su| j d ƒ n  x- |  j | ƒ D] } | j |  j | ƒ ƒ q…W|  j | ƒ S(	   Ni   i   RS   s   %*s%s
s	   %*s%-*s  i    i   s   
(   R<   RA   R;   R=   R>   R?   Rh   Rg   Rj   t   _expand_helpt   _split_linesR   t   endswithRi   Rk   RT   (   R"   Rl   t   help_positiont
   help_widtht   action_widtht   action_headert   tupt   indent_firstRz   t	   help_textt
   help_linesR}   Ro   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRk   ë  s6    	
	
		!c         C   s°   | j  s+ |  j | | j ƒ d ƒ \ } | Sg  } | j d k rS | j | j  ƒ nL | j j ƒ  } |  j | | ƒ } x( | j  D] } | j d | | f ƒ q~ Wd j | ƒ Sd  S(   Ni   i    s   %s %ss   , (	   Rƒ   t   _metavar_formatterR    R¡   R†   R¢   RŸ   R   R!   (   R"   Rl   t   metavarRz   R«   R¬   Rª   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRh     s    	c            s{   | j  d  k	 r | j  ‰  nM | j d  k	 rb g  | j D] } t | ƒ ^ q4 } d d j | ƒ ‰  n | ‰  ‡  f d †  } | S(   Ns   {%s}t   ,c            s"   t  ˆ  t ƒ r ˆ  Sˆ  f |  Sd  S(   N(   t
   isinstancet   tuple(   t
   tuple_size(   t   result(    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR‰   :  s    (   R½   R/   t   choicest   strR!   (   R"   Rl   t   default_metavart   choicet   choice_strsR‰   (    (   RÂ   s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR¼   1  s    "c         C   s  |  j  | | ƒ } | j d  k r4 d | d ƒ } nÞ | j t k rV d | d ƒ } n¼ | j t k rx d | d ƒ } nš | j t k rš d | d ƒ } nx | j t k r² d } n` | j t k rÔ d | d ƒ } n> g  t | j ƒ D] } d ^ qä } d	 j	 | ƒ | | j ƒ } | S(
   Ns   %si   s   [%s]s   [%s [%s ...]]i   s   %s [%s ...]s   ...s   %s ...Ry   (
   R¼   R¡   R/   R   R   R
   R   R   R›   R!   (   R"   Rl   RÅ   t   get_metavarRÂ   R�   t   formats(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRŸ   A  s     	"c         C   sé   t  t | ƒ d |  j ƒ} x. t | ƒ D]  } | | t k r( | | =q( q( Wx; t | ƒ D]- } t | | d ƒ rY | | j | | <qY qY W| j d ƒ d  k	 rØ d j	 g  | d D] } t
 | ƒ ^ q° ƒ } | | d <n  |  j | ƒ | S(   NRI   R   RÃ   s   , (   R‚   t   varsR9   t   listR   R   R   R�   R/   R!   RÄ   t   _get_help_string(   R"   Rl   t   paramsR&   t   ct   choices_str(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR±   T  s    ,c         c   sR   y | j  } Wn t k
 r  n. X|  j ƒ  x | ƒ  D] } | Vq5 W|  j ƒ  d  S(   N(   t   _get_subactionst   AttributeErrorRN   RO   (   R"   Rl   t   get_subactionsRo   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRi   a  s    
	c         C   s+   |  j  j d | ƒ j ƒ  } t j | | ƒ S(   NRy   (   RG   Ru   Rv   t	   _textwrapt   wrap(   R"   R_   RL   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR²   l  s    c         C   s7   |  j  j d | ƒ j ƒ  } t j | | d | d | ƒS(   NRy   t   initial_indentt   subsequent_indent(   RG   Ru   Rv   RÓ   t   fill(   R"   R_   RL   R{   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR°   p  s    c         C   s   | j  S(   N(   Rg   (   R"   Rl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRÌ   u  s    N(   R   R,   R-   R/   RM   RN   RO   t   objectRB   RZ   R\   R]   R`   Rf   Rs   Rt   RY   RT   Ra   R„   R^   Rk   Rh   R¼   RŸ   R±   Ri   R²   R°   RÌ   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   “   s8   		!									`	`		/							c           B   s   e  Z d  Z d „  Z RS(   sÙ   Help message formatter which retains any formatting in descriptions.

    Only the name of this class is considered a public API. All the methods
    provided by the class are considered an implementation detail.
    c         C   s-   d j  g  | j t ƒ D] } | | ^ q ƒ S(   NRS   (   R!   t
   splitlinesR£   (   R"   R_   RL   R{   R}   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR°   €  s    (   R   R,   R-   R°   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   y  s   c           B   s   e  Z d  Z d „  Z RS(   sÖ   Help message formatter which retains formatting of all help text.

    Only the name of this class is considered a public API. All the methods
    provided by the class are considered an implementation detail.
    c         C   s
   | j  ƒ  S(   N(   RÙ   (   R"   R_   RL   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR²   ‹  s    (   R   R,   R-   R²   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   „  s   c           B   s   e  Z d  Z d „  Z RS(   s×   Help message formatter which adds default values to argument help.

    Only the name of this class is considered a public API. All the methods
    provided by the class are considered an implementation detail.
    c         C   sb   | j  } d | j  k r^ | j t k	 r^ t t g } | j sK | j | k r[ | d 7} q[ q^ n  | S(   Ns
   %(default)s    (default: %(default)s)(   Rg   R«   R   R   R   Rƒ   R¡   (   R"   Rl   Rg   t   defaulting_nargs(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRÌ   –  s    	(   R   R,   R-   RÌ   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   �  s   c         C   si   |  d  k r d  S|  j r) d j |  j ƒ S|  j d  t f k rE |  j S|  j d  t f k ra |  j Sd  Sd  S(   Nt   /(   R/   Rƒ   R!   R½   R   R    (   t   argument(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   _get_action_name¤  s    	c           B   s    e  Z d  Z d „  Z d „  Z RS(   sÄ   An error from creating or using an argument (optional or positional).

    The string value of this exception is the message, augmented with
    information about the argument that caused it.
    c         C   s   t  | ƒ |  _ | |  _ d  S(   N(   RÝ   t   argument_namet   message(   R"   RÜ   Rß   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   ¸  s    c         C   s;   |  j  d  k r d } n d } | t d |  j d |  j  ƒ S(   Ns   %(message)ss'   argument %(argument_name)s: %(message)sRß   RÞ   (   RÞ   R/   R‚   Rß   (   R"   R‰   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   __str__¼  s
    	(   R   R,   R-   RM   Rà   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   ±  s   	c           B   s   e  Z d  Z RS(   s@   An error from trying to convert a command line string to a type.(   R   R,   R-   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   Å  s   c        	   B   sD   e  Z d  Z d d d d d e d d d „ Z d „  Z d d „ Z RS(   s\	  Information about how to convert command line strings to Python objects.

    Action objects are used by an ArgumentParser to represent the information
    needed to parse a single argument from one or more strings from the
    command line. The keyword arguments to the Action constructor are also
    all attributes of Action instances.

    Keyword Arguments:

        - option_strings -- A list of command-line option strings which
            should be associated with this action.

        - dest -- The name of the attribute to hold the created object(s)

        - nargs -- The number of command-line arguments that should be
            consumed. By default, one argument will be consumed and a single
            value will be produced.  Other values include:
                - N (an integer) consumes N arguments (and produces a list)
                - '?' consumes zero or one arguments
                - '*' consumes zero or more arguments (and produces a list)
                - '+' consumes one or more arguments (and produces a list)
            Note that the difference between the default and nargs=1 is that
            with the default, a single value will be produced, while with
            nargs=1, a list containing a single value will be produced.

        - const -- The value to be produced if the option is specified and the
            option uses an action that takes no values.

        - default -- The value to be produced if the option is not specified.

        - type -- A callable that accepts a single string argument, and
            returns the converted value.  The standard Python types str, int,
            float, and complex are useful examples of such callables.  If None,
            str is used.

        - choices -- A container of values that should be allowed. If not None,
            after a command-line argument has been converted to the appropriate
            type, an exception will be raised if it is not a member of this
            collection.

        - required -- True if the action must always be specified at the
            command line. This is only meaningful for optional command-line
            arguments.

        - help -- The help string describing the argument.

        - metavar -- The name to be used for the option's argument with the
            help string. If None, the 'dest' value will be used as the name.
    c         C   s^   | |  _  | |  _ | |  _ | |  _ | |  _ | |  _ | |  _ | |  _ |	 |  _ |
 |  _	 d  S(   N(
   Rƒ   R    R¡   t   constR«   R   RÃ   Rš   Rg   R½   (   R"   Rƒ   R    R¡   Rá   R«   R   RÃ   Rš   Rg   R½   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM     s    									c      	   C   sG   d d d d d d d d d	 g	 } g  | D] } | t  |  | ƒ f ^ q( S(
   NRƒ   R    R¡   Rá   R«   R   RÃ   Rg   R½   (   R.   (   R"   t   namesR&   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR      s    	c         C   s   t  t d ƒ ƒ ‚ d  S(   Ns   .__call__() not defined(   t   NotImplementedErrorR�   (   R"   t   parserR1   t   valuesRª   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   %  s    N(   R   R,   R-   R/   t   FalseRM   R    R   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR	   Î  s   1	t   _StoreActionc        	   B   s5   e  Z d d d d d e d d d  „ Z d d „ Z RS(   c         C   s™   | d k r t  d ƒ ‚ n  | d  k	 rF | t k rF t  d t ƒ ‚ n  t t |  ƒ j d | d | d | d | d | d	 | d
 | d | d |	 d |
 ƒ 
d  S(   Ni    s„   nargs for store actions must be > 0; if you have nothing to store, actions such as store true or store const may be more appropriates    nargs must be %r to supply constRƒ   R    R¡   Rá   R«   R   RÃ   Rš   Rg   R½   (   R8   R/   R   t   superRç   RM   (   R"   Rƒ   R    R¡   Rá   R«   R   RÃ   Rš   Rg   R½   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   +  s    c         C   s   t  | |  j | ƒ d  S(   N(   R0   R    (   R"   Rä   R1   Rå   Rª   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   H  s    N(   R   R,   R/   Ræ   RM   R   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRç   )  s   t   _StoreConstActionc           B   s)   e  Z d e d d d  „ Z d d „ Z RS(   c         C   sA   t  t |  ƒ j d | d | d d d | d | d | d | ƒ d  S(	   NRƒ   R    R¡   i    Rá   R«   Rš   Rg   (   Rè   Ré   RM   (   R"   Rƒ   R    Rá   R«   Rš   Rg   R½   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   N  s    c         C   s   t  | |  j |  j ƒ d  S(   N(   R0   R    Rá   (   R"   Rä   R1   Rå   Rª   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   _  s    N(   R   R,   R/   Ræ   RM   R   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRé   L  s
   
t   _StoreTrueActionc           B   s   e  Z e e d d  „ Z RS(   c         C   s;   t  t |  ƒ j d | d | d t d | d | d | ƒ d  S(   NRƒ   R    Rá   R«   Rš   Rg   (   Rè   Rê   RM   R£   (   R"   Rƒ   R    R«   Rš   Rg   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   e  s    N(   R   R,   Ræ   R/   RM   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRê   c  s   t   _StoreFalseActionc           B   s   e  Z e e d d  „ Z RS(   c         C   s;   t  t |  ƒ j d | d | d t d | d | d | ƒ d  S(   NRƒ   R    Rá   R«   Rš   Rg   (   Rè   Rë   RM   Ræ   (   R"   Rƒ   R    R«   Rš   Rg   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   v  s    N(   R   R,   R£   Ræ   R/   RM   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRë   t  s   t   _AppendActionc        	   B   s5   e  Z d d d d d e d d d  „ Z d d „ Z RS(   c         C   s™   | d k r t  d ƒ ‚ n  | d  k	 rF | t k rF t  d t ƒ ‚ n  t t |  ƒ j d | d | d | d | d | d	 | d
 | d | d |	 d |
 ƒ 
d  S(   Ni    s‹   nargs for append actions must be > 0; if arg strings are not supplying the value to append, the append const action may be more appropriates    nargs must be %r to supply constRƒ   R    R¡   Rá   R«   R   RÃ   Rš   Rg   R½   (   R8   R/   R   Rè   Rì   RM   (   R"   Rƒ   R    R¡   Rá   R«   R   RÃ   Rš   Rg   R½   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   ‡  s    c         C   sB   t  j t | |  j g  ƒ ƒ } | j | ƒ t | |  j | ƒ d  S(   N(   t   _copyt   copyR2   R    R   R0   (   R"   Rä   R1   Rå   Rª   R+   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   ¤  s    N(   R   R,   R/   Ræ   RM   R   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRì   …  s   t   _AppendConstActionc           B   s)   e  Z d e d d d  „ Z d d „ Z RS(   c         C   sG   t  t |  ƒ j d | d | d d d | d | d | d | d	 | ƒ d  S(
   NRƒ   R    R¡   i    Rá   R«   Rš   Rg   R½   (   Rè   Rï   RM   (   R"   Rƒ   R    Rá   R«   Rš   Rg   R½   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   ¬  s    c         C   sE   t  j t | |  j g  ƒ ƒ } | j |  j ƒ t | |  j | ƒ d  S(   N(   Rí   Rî   R2   R    R   Rá   R0   (   R"   Rä   R1   Rå   Rª   R+   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   ¾  s    N(   R   R,   R/   Ræ   RM   R   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRï   ª  s
   t   _CountActionc           B   s&   e  Z d e d d  „ Z d d „ Z RS(   c         C   s;   t  t |  ƒ j d | d | d d d | d | d | ƒ d  S(   NRƒ   R    R¡   i    R«   Rš   Rg   (   Rè   Rð   RM   (   R"   Rƒ   R    R«   Rš   Rg   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   Æ  s    c         C   s0   t  | |  j d ƒ d } t | |  j | ƒ d  S(   Ni    i   (   R2   R    R0   (   R"   Rä   R1   Rå   Rª   t	   new_count(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   Ô  s    N(   R   R,   R/   Ræ   RM   R   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRð   Ä  s   	t   _HelpActionc           B   s&   e  Z e e d d  „ Z d d „ Z RS(   c         C   s5   t  t |  ƒ j d | d | d | d d d | ƒ d  S(   NRƒ   R    R«   R¡   i    Rg   (   Rè   Rò   RM   (   R"   Rƒ   R    R«   Rg   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   Û  s    c         C   s   | j  ƒ  | j ƒ  d  S(   N(   t
   print_helpt   exit(   R"   Rä   R1   Rå   Rª   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   ç  s    
N(   R   R,   R   R/   RM   R   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRò   Ù  s   t   _VersionActionc           B   s)   e  Z d e e d  d „ Z d d „ Z RS(   s&   show program's version number and exitc         C   s>   t  t |  ƒ j d | d | d | d d d | ƒ | |  _ d  S(   NRƒ   R    R«   R¡   i    Rg   (   Rè   Rõ   RM   t   version(   R"   Rƒ   Rö   R    R«   Rg   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   î  s    c         C   sT   |  j  } | d  k r! | j  } n  | j ƒ  } | j | ƒ | j d | j ƒ  ƒ d  S(   NRß   (   Rö   R/   t   _get_formatterR`   Rô   RY   (   R"   Rä   R1   Rå   Rª   Rö   RP   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   ü  s    	N(   R   R,   R/   R   RM   R   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRõ   ì  s
   	t   _SubParsersActionc           B   sN   e  Z d  e f d „  ƒ  YZ e d d d „ Z d „  Z d „  Z d d „ Z	 RS(   t   _ChoicesPseudoActionc           B   s   e  Z d  „  Z RS(   c         C   s2   t  t j |  ƒ } | j d g  d | d | ƒ d  S(   NRƒ   R    Rg   (   Rè   Rø   Rù   RM   (   R"   R&   Rg   t   sup(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   	  s    (   R   R,   RM   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRù     s   c         C   sh   | |  _  | |  _ t j ƒ  |  _ g  |  _ t t |  ƒ j d | d | d t	 d |  j d | d | ƒ d  S(   NRƒ   R    R¡   RÃ   Rg   R½   (
   t   _prog_prefixt   _parser_classt   _collectionst   OrderedDictt   _name_parser_mapt   _choices_actionsRè   Rø   RM   R   (   R"   Rƒ   RI   t   parser_classR    Rg   R½   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM     s    				c         K   s�   | j  d ƒ d  k r/ d |  j | f | d <n  d | k ro | j d ƒ } |  j | | ƒ } |  j j | ƒ n  |  j | �  } | |  j | <| S(   NRI   s   %s %sRg   (	   R�   R/   Rû   Rž   Rù   R   R   Rü   Rÿ   (   R"   R&   t   kwargsRg   t   choice_actionRä   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt
   add_parser"  s    c         C   s   |  j  S(   N(   R   (   R"   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRÐ   2  s    c         C   s  | d } | d } |  j  t k	 r9 t | |  j  | ƒ n  y |  j | } WnH t k
 r” | d j |  j ƒ f } t d ƒ | } t |  | ƒ ‚ n X| j | d  ƒ \ }	 } x0 t
 |	 ƒ j ƒ  D] \ }
 } t | |
 | ƒ qÀ W| rt
 | ƒ j t g  ƒ t | t ƒ j | ƒ n  d  S(   Ni    i   s   , s   unknown parser %r (choices: %s)(   R    R   R0   Rÿ   R7   R!   R�   R   t   parse_known_argsR/   RÊ   R+   t
   setdefaultt   _UNRECOGNIZED_ARGS_ATTRR.   R†   (   R"   Rä   R1   Rå   Rª   t   parser_nameR$   R¸   t   msgt   subnamespacet   keyR'   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   5  s     

	N(
   R   R,   R	   Rù   R   R/   RM   R  RÐ   R   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRø     s   
		c           B   s/   e  Z d  Z d d d „ Z d „  Z d „  Z RS(   s¸  Factory for creating file object types

    Instances of FileType are typically passed as type= arguments to the
    ArgumentParser add_argument() method.

    Keyword Arguments:
        - mode -- A string indicating how the file is to be opened. Accepts the
            same values as the builtin open() function.
        - bufsize -- The file's desired buffer size. Accepts the same values as
            the builtin open() function.
    t   riÿÿÿÿc         C   s   | |  _  | |  _ d  S(   N(   t   _modet   _bufsize(   R"   t   modet   bufsize(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   f  s    	c         C   s°   | d k rZ d |  j  k r" t j Sd |  j  k r8 t j St d ƒ |  j  } t | ƒ ‚ n  y t | |  j  |  j ƒ SWn5 t k
 r« } t d ƒ } t	 | | | f ƒ ‚ n Xd  S(   Nt   -R  t   ws   argument "-" with mode %rs   can't open '%s': %s(
   R  t   _syst   stdint   stdoutR�   R8   R®   R  t   IOErrorR   (   R"   t   stringR	  t   eRß   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   j  s    c         C   sB   |  j  |  j f } d j d „  | Dƒ ƒ } d t |  ƒ j | f S(   Ns   , c         s   s'   |  ] } | d  k r t  | ƒ Vq d S(   iÿÿÿÿN(   R   (   t   .0R%   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pys	   <genexpr>~  s    s   %s(%s)(   R  R  R!   R   R   (   R"   RV   t   args_str(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR(   |  s    (   R   R,   R-   RM   R   R(   (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   Y  s   	c           B   s8   e  Z d  Z d „  Z d Z d „  Z d „  Z d „  Z RS(   s“   Simple object for storing attributes.

    Implements equality by attribute names and values, and provides a simple
    string representation.
    c         K   s)   x" | D] } t  |  | | | ƒ q Wd  S(   N(   R0   (   R"   R  R&   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   Œ  s    c         C   s)   t  | t ƒ s t St |  ƒ t | ƒ k S(   N(   R¿   R   t   NotImplementedRÊ   (   R"   t   other(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   __eq__’  s    c         C   s   t  | t ƒ s t S|  | k S(   N(   R¿   R   R  (   R"   R  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   __ne__—  s    c         C   s   | |  j  k S(   N(   R*   (   R"   R  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   __contains__œ  s    N(	   R   R,   R-   RM   R/   t   __hash__R  R  R  (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR   …  s   			t   _ActionsContainerc           B   s°   e  Z d  „  Z d „  Z d d „ Z d „  Z d „  Z d „  Z d „  Z	 d „  Z
 d „  Z d	 „  Z d
 „  Z d „  Z d „  Z d d „ Z d „  Z d „  Z d „  Z d „  Z RS(   c         C   sg  t  t |  ƒ j ƒ  | |  _ | |  _ | |  _ | |  _ i  |  _ |  j d d  t
 ƒ |  j d d t
 ƒ |  j d d t ƒ |  j d d t ƒ |  j d d t ƒ |  j d d t ƒ |  j d d t ƒ |  j d d t ƒ |  j d d	 t ƒ |  j d d
 t ƒ |  j d d t ƒ |  j ƒ  g  |  _ i  |  _ g  |  _ g  |  _ i  |  _ t j d ƒ |  _ g  |  _ d  S(   NRl   t   storet   store_constt
   store_truet   store_falseR   t   append_constt   countRg   Rö   t   parserss   ^-\d+$|^-\d*\.\d+$(   Rè   R!  RM   t   descriptiont   argument_defaultt   prefix_charst   conflict_handlert   _registriest   registerR/   Rç   Ré   Rê   Rë   Rì   Rï   Rð   Rò   Rõ   Rø   t   _get_handlert   _actionst   _option_string_actionst   _action_groupst   _mutually_exclusive_groupst	   _defaultsRE   RF   t   _negative_number_matchert   _has_negative_number_optionals(   R"   R)  R+  R*  R,  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   ¢  s2    					
					c         C   s#   |  j  j | i  ƒ } | | | <d  S(   N(   R-  R  (   R"   t   registry_nameR'   RØ   t   registry(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR.  Ö  s    c         C   s   |  j  | j | | ƒ S(   N(   R-  R�   (   R"   R7  R'   R«   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   _registry_getÚ  s    c         K   sJ   |  j  j | ƒ x3 |  j D]( } | j | k r | | j | _ q q Wd  S(   N(   R4  t   updateR0  R    R«   (   R"   R  Rl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   set_defaultsà  s    c         C   sL   x6 |  j  D]+ } | j | k r
 | j d  k	 r
 | j Sq
 W|  j j | d  ƒ S(   N(   R0  R    R«   R/   R4  R�   (   R"   R    Rl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   get_defaulté  s    c         O   s¬  |  j  } | s6 t | ƒ d k rl | d d | k rl | rW d | k rW t d ƒ ‚ n  |  j | | Ž  } n |  j | | Ž  } d | k rÙ | d } | |  j k r· |  j | | d <qÙ |  j d k	 rÙ |  j | d <qÙ n  |  j | ƒ } t	 | ƒ s
t d | f ƒ ‚ n  | | �  } |  j
 d | j | j ƒ } t	 | ƒ sSt d | f ƒ ‚ n  t |  d	 ƒ rŸy |  j ƒ  j | d ƒ WqŸt k
 r›t d
 ƒ ‚ qŸXn  |  j | ƒ S(   sƒ   
        add_argument(dest, ..., name=value, ...)
        add_argument(option_string, option_string, ..., name=value, ...)
        i   i    R    s+   dest supplied twice for positional argumentR«   s   unknown action "%s"R   s   %r is not callableR÷   s,   length of metavar tuple does not match nargsN(   R+  Rj   R8   t   _get_positional_kwargst   _get_optional_kwargsR4  R*  R/   t   _pop_action_classR   R9  R   R   R÷   RŸ   t	   TypeErrort   _add_action(   R"   RV   R  t   charsR    t   action_classRl   t	   type_func(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRs   ó  s2    		-
c         O   s&   t  |  | | Ž } |  j j | ƒ | S(   N(   t   _ArgumentGroupR2  R   (   R"   RV   R  R¦   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   add_argument_group"  s    c         K   s#   t  |  | � } |  j j | ƒ | S(   N(   t   _MutuallyExclusiveGroupR3  R   (   R"   R  R¦   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   add_mutually_exclusive_group'  s    c         C   s�   |  j  | ƒ |  j j | ƒ |  | _ x | j D] } | |  j | <q0 WxB | j D]7 } |  j j | ƒ rQ |  j sˆ |  j j t	 ƒ qˆ qQ qQ W| S(   N(
   t   _check_conflictR0  R   t	   containerRƒ   R1  R5  t   matchR6  R£   (   R"   Rl   Rª   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRA  ,  s    		c         C   s   |  j  j | ƒ d  S(   N(   R0  t   remove(   R"   Rl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   _remove_actionA  s    c         C   sO  i  } xO |  j  D]D } | j | k rG t d ƒ } t | | j ƒ ‚ n  | | | j <q Wi  } xv | j  D]k } | j | k r® |  j d | j d | j d | j ƒ | | j <n  x" | j D] } | | j | | <q¸ Wqh WxD | j D]9 } |  j	 d | j
 ƒ } x | j D] } | | | <qWqá Wx* | j D] } | j | |  ƒ j | ƒ q(Wd  S(   Ns.   cannot merge actions - two groups are named %rt   titleR)  R,  Rš   (   R2  RN  R�   R8   RF  R)  R,  R˜   R3  RH  Rš   R0  R�   RA  (   R"   RJ  t   title_group_mapR¦   R	  t	   group_mapRl   t   mutex_group(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   _add_container_actionsD  s,    				c         K   s“   d | k r' t  d ƒ } t | ƒ ‚ n  | j d ƒ t t g k rO t | d <n  | j d ƒ t k r} d | k r} t | d <n  t | d | d g  ƒS(   NRš   s1   'required' is an invalid argument for positionalsR¡   R«   R    Rƒ   (   R�   R@  R�   R   R   R£   R‚   (   R"   R    R  R	  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR=  l  s    !c   
      O   sV  g  } g  } xª | D]¢ } | d |  j  k rZ t d ƒ } | |  j  f } t | | ƒ ‚ n  | j | ƒ | d |  j  k r t | ƒ d k rµ | d |  j  k r² | j | ƒ q² qµ q q W| j d d  ƒ } | d  k r@| rê | d }	 n
 | d }	 |	 j |  j  ƒ } | s+t d ƒ } t | | ƒ ‚ n  | j d d ƒ } n  t	 | d | d | ƒS(	   Ni    s8   invalid option string %r: must start with a character %ri   R    s%   dest= is required for options like %rR  R�   Rƒ   (
   R+  R�   R8   R   Rj   Rž   R/   t   lstript   replaceR‚   (
   R"   RV   R  Rƒ   t   long_option_stringsRª   R	  R¸   R    t   dest_option_string(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR>  |  s.    
c         C   s%   | j  d | ƒ } |  j d | | ƒ S(   NRl   (   Rž   R9  (   R"   R  R«   Rl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR?  Ÿ  s    c         C   sU   d |  j  } y t |  | ƒ SWn0 t k
 rP t d ƒ } t | |  j  ƒ ‚ n Xd  S(   Ns   _handle_conflict_%ss%   invalid conflict_resolution value: %r(   R,  R.   RÑ   R�   R8   (   R"   t   handler_func_nameR	  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR/  £  s    c         C   sr   g  } xC | j  D]8 } | |  j k r |  j | } | j | | f ƒ q q W| rn |  j ƒ  } | | | ƒ n  d  S(   N(   Rƒ   R1  R   R/  (   R"   Rl   t   confl_optionalsRª   t   confl_optionalR,  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRI  ¬  s    c         C   sK   t  d ƒ } d j g  | D] \ } } | ^ q ƒ } t | | | ƒ ‚ d  S(   Ns    conflicting option string(s): %ss   , (   R�   R!   R   (   R"   Rl   t   conflicting_actionsRß   Rª   t   conflict_string(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   _handle_conflict_errorº  s    	c         C   sZ   xS | D]K \ } } | j  j | ƒ |  j j | d  ƒ | j  s | j j | ƒ q q Wd  S(   N(   Rƒ   RL  R1  Rž   R/   RJ  RM  (   R"   Rl   RZ  Rª   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   _handle_conflict_resolveÁ  s
    	N(   R   R,   RM   R.  R/   R9  R;  R<  Rs   RF  RH  RA  RM  RR  R=  R>  R?  R/  RI  R\  R]  (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR!     s$   	4				
	/					(		#				RE  c           B   s)   e  Z d d d  „ Z d „  Z d „  Z RS(   c         K   s¹   | j  } | d | j ƒ | d | j ƒ | d | j ƒ t t |  ƒ j } | d | | � | |  _ g  |  _ | j	 |  _	 | j
 |  _
 | j |  _ | j |  _ | j |  _ | j |  _ d  S(   NR,  R+  R*  R)  (   R  R,  R+  R*  Rè   RE  RM   RN  R˜   R-  R0  R1  R4  R6  R3  (   R"   RJ  RN  R)  R  R:  t
   super_init(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   Ò  s    			c         C   s,   t  t |  ƒ j | ƒ } |  j j | ƒ | S(   N(   Rè   RE  RA  R˜   R   (   R"   Rl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRA  è  s    c         C   s*   t  t |  ƒ j | ƒ |  j j | ƒ d  S(   N(   Rè   RE  RM  R˜   RL  (   R"   Rl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM  í  s    N(   R   R,   R/   RM   RA  RM  (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRE  Ð  s   	RG  c           B   s&   e  Z e d  „ Z d „  Z d „  Z RS(   c         C   s,   t  t |  ƒ j | ƒ | |  _ | |  _ d  S(   N(   Rè   RG  RM   Rš   t
   _container(   R"   RJ  Rš   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM   ô  s    	c         C   sJ   | j  r$ t d ƒ } t | ƒ ‚ n  |  j j | ƒ } |  j j | ƒ | S(   Ns-   mutually exclusive arguments must be optional(   Rš   R�   R8   R_  RA  R˜   R   (   R"   Rl   R	  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRA  ù  s    	c         C   s$   |  j  j | ƒ |  j j | ƒ d  S(   N(   R_  RM  R˜   RL  (   R"   Rl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM    s    (   R   R,   Ræ   RM   RA  RM  (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRG  ò  s   	c           B   sU  e  Z d  Z d! d! d! d! d! g  e d d! d! d e d „ Z d „  Z d „  Z d „  Z	 d „  Z
 d „  Z d! d! d	 „ Z d! d! d
 „ Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d! d „ Z d! d „ Z d! d „ Z d! d „ Z  d d! d „ Z! d  „  Z" RS("   sa  Object for parsing command line strings into Python objects.

    Keyword Arguments:
        - prog -- The name of the program (default: sys.argv[0])
        - usage -- A usage message (default: auto-generated from arguments)
        - description -- A description of what the program does
        - epilog -- Text following the argument descriptions
        - parents -- Parsers whose arguments should be copied into this one
        - formatter_class -- HelpFormatter class for printing help messages
        - prefix_chars -- Characters that prefix optional arguments
        - fromfile_prefix_chars -- Characters that prefix files containing
            additional arguments
        - argument_default -- The default value for all arguments
        - conflict_handler -- String indicating how to handle conflicts
        - add_help -- Add a -h/-help option
    R  t   errorc         C   s  | d  k	 r+ d d  l } | j d t ƒ n  t t |  ƒ j } | d | d | d |
 d | ƒ | d  k r„ t j j	 t
 j d ƒ } n  | |  _ | |  _ | |  _ | |  _ | |  _ |	 |  _ | |  _ |  j } | t d ƒ ƒ |  _ | t d	 ƒ ƒ |  _ d  |  _ d
 „  } |  j d d  | ƒ d | k r-d n | d } |  j rw|  j | d | d d d d d t d t d ƒ ƒn  |  j rÀ|  j | d | d d d d d t d |  j d t d ƒ ƒn  xL | D]D } |  j | ƒ y | j } Wn t k
 rúqÇX|  j j | ƒ qÇWd  S(   Niÿÿÿÿs‚   The "version" argument to ArgumentParser is deprecated. Please use "add_argument(..., action='version', version="N", ...)" insteadR)  R+  R*  R,  i    s   positional argumentss   optional argumentsc         S   s   |  S(   N(    (   R  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   identityF  s    R   R  t   hi   Rg   Rl   R«   s   show this help message and exitt   vRö   s&   show program's version number and exit(   R/   t   warningst   warnt   DeprecationWarningRè   R    RM   R5   t   patht   basenameR  t   argvRI   Rb   t   epilogRö   t   formatter_classt   fromfile_prefix_charst   add_helpRF  R�   t   _positionalst
   _optionalst   _subparsersR.  Rs   R   RR  R4  RÑ   R:  (   R"   RI   Rb   R)  Rj  Rö   t   parentsRk  R+  Rl  R*  R,  Rm  Rd  t	   superinitt	   add_groupRa  t   default_prefixRQ   t   defaults(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRM     sX    
													c         C   sA   d d d d d d d g } g  | D] } | t  |  | ƒ f ^ q" S(   NRI   Rb   R)  Rö   Rk  R,  Rm  (   R.   (   R"   Râ   R&   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR    f  s    	c   	      K   sG  |  j  d  k	 r% |  j t d ƒ ƒ n  | j d t |  ƒ ƒ d | k sS d | k r› t | j d d ƒ ƒ } t | j d d  ƒ ƒ } |  j | | ƒ |  _  n |  j |  _  | j	 d ƒ d  k r|  j
 ƒ  } |  j ƒ  } |  j } | j |  j | | d ƒ | j ƒ  j ƒ  | d <n  |  j | d ƒ } | d	 g  | � } |  j  j | ƒ | S(
   Ns(   cannot have multiple subparser argumentsR  RN  R)  t   subcommandsRI   RS   R(  Rƒ   (   Rp  R/   R`  R�   R  R   Rž   RF  Rn  R�   R÷   t   _get_positional_actionsR3  Rf   Rb   RY   Rv   R?  RA  (	   R"   R  RN  R)  RP   Rˆ   Rd   t   parsers_classRl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   add_subparsersu  s$    	c         C   s0   | j  r |  j j | ƒ n |  j j | ƒ | S(   N(   Rƒ   Ro  RA  Rn  (   R"   Rl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRA  ”  s    	c         C   s#   g  |  j  D] } | j r
 | ^ q
 S(   N(   R0  Rƒ   (   R"   Rl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   _get_optional_actions›  s    c         C   s#   g  |  j  D] } | j s
 | ^ q
 S(   N(   R0  Rƒ   (   R"   Rl   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRw     s    c         C   sK   |  j  | | ƒ \ } } | rG t d ƒ } |  j | d j | ƒ ƒ n  | S(   Ns   unrecognized arguments: %sRy   (   R  R�   R`  R!   (   R"   RV   R1   Ri  R	  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt
   parse_args¨  s
    c         C   sv  | d  k r t j d } n t | ƒ } | d  k r@ t ƒ  } n  x` |  j D]U } | j t k	 rJ t | | j ƒ sŸ | j	 t k	 rœ t
 | | j | j	 ƒ qœ qŸ qJ qJ Wx: |  j D]/ } t | | ƒ s­ t
 | | |  j | ƒ q­ q­ Wy[ |  j | | ƒ \ } } t | t ƒ r0| j t | t ƒ ƒ t | t ƒ n  | | f SWn4 t k
 rqt j ƒ  d } |  j t | ƒ ƒ n Xd  S(   Ni   (   R/   R  Ri  RË   R   R0  R    R   R   R«   R0   R4  t   _parse_known_argsR  R†   R.   t   delattrR   t   exc_infoR`  RÄ   (   R"   RV   R1   Rl   R    t   err(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR  ¯  s,    #c            sL  ˆ	 j  d  k	 r! ˆ	 j ˆ ƒ ‰ n  i  ‰  xr ˆ	 j D]g } | j } xU t | j ƒ D]D \ } } ˆ  j | g  ƒ } | j | |  ƒ | j | | d ƒ qP Wq1 Wi  ‰ g  } t ˆ ƒ }	 x• t |	 ƒ D]‡ \ } }
 |
 d k r| j	 d ƒ x_ |	 D] }
 | j	 d ƒ qí WqÁ ˆ	 j
 |
 ƒ } | d  k r+d } n | ˆ | <d } | j	 | ƒ qÁ Wd j | ƒ ‰ t ƒ  ‰ t ƒ  ‰ d  ‡  ‡ ‡ ‡ ‡	 f d † ‰
 ‡ ‡ ‡ ‡ ‡	 ‡
 f d †  } ˆ	 j ƒ  ‰ ‡ ‡ ‡ ‡	 ‡
 f d	 †  } g  ‰ d
 } ˆ rñt ˆ ƒ } n d } x¯ | | k r¨t g  ˆ D] } | | k r| ^ qƒ } | | k rj| | ƒ } | | k ra| } qúqj| } n  | ˆ k r™ˆ | | !} ˆ j | ƒ | } n  | | ƒ } qúW| | ƒ } ˆ j ˆ | ƒ ˆ râˆ	 j t d ƒ ƒ n  xÂ ˆ	 j D]· } | ˆ k rì| j r-t | ƒ } ˆ	 j t d ƒ | ƒ q£| j d  k	 r£t | j t ƒ r£t ˆ | j ƒ r£| j t ˆ | j ƒ k r£t ˆ | j ˆ	 j | | j ƒ ƒ q£qìqìWx˜ ˆ	 j D]� } | j r±x{ | j D] } | ˆ k rÊPqÊqÊWg  | j D]! } | j t k	 rît | ƒ ^ qî} t d ƒ } ˆ	 j | d j | ƒ ƒ q±q±Wˆ ˆ f S(   Ni   s   --R  t   At   ORS   c            s»   ˆ j  |  ƒ ˆ j |  | ƒ } | |  j k	 r• ˆ j  |  ƒ xW ˆ  j |  g  ƒ D]@ } | ˆ k rN t d ƒ } t | ƒ } t |  | | ƒ ‚ qN qN Wn  | t k	 r· |  ˆ ˆ | | ƒ n  d  S(   Ns   not allowed with argument %s(   R™   t   _get_valuesR«   R�   R�   RÝ   R   R   (   Rl   t   argument_stringsRª   t   argument_valuest   conflict_actionR	  t   action_name(   t   action_conflictsR1   t   seen_actionst   seen_non_default_actionsR"   (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   take_action  s    c            sü  ˆ |  } | \ } } } ˆ j  } g  } x£t rÍ| d  k rV ˆ j ˆ  |  ƒ |  d S| d  k	 ry| | d ƒ } ˆ j } | d k r| d | k r| j | g  | f ƒ | d }	 |	 | d } | d pÑ d  }
 ˆ j } | | k rü | | } |
 } qvt d ƒ } t | | | ƒ ‚ qÊ| d k rW|  d } | g } | j | | | f ƒ PqÊt d ƒ } t | | | ƒ ‚ q+ |  d } ˆ | } | | | ƒ } | | } ˆ  | | !} | j | | | f ƒ Pq+ Wx' | D] \ } } } ˆ | | | ƒ qÕW| S(   Ni   R€  i    s   ignored explicit argument %r(   t   _match_argumentR£   R/   R   R+  R1  R�   R   (   t   start_indext   option_tupleRl   Rª   t   explicit_argt   match_argumentt   action_tuplest	   arg_countRB  t   chart   new_explicit_argt   optionals_mapR	  t   stopRV   R§   t   selected_patterns(   R$   t   arg_strings_patternt   extrast   option_string_indicesR"   RŠ  (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   consume_optional  sN    
			
	
	
	


c            s   ˆ j  } ˆ |  } | ˆ | ƒ } xE t ˆ | ƒ D]4 \ } } ˆ  |  |  | !} |  | 7}  ˆ | | ƒ q2 Wˆ t | ƒ ˆ (|  S(   N(   t   _match_arguments_partialt   zipRj   (   RŒ  t   match_partialt   selected_patternt
   arg_countsRl   R‘  RV   (   R$   R—  Rˆ   R"   RŠ  (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   consume_positionalsc  s    	

i    iÿÿÿÿs   too few argumentss   argument %s is requireds#   one of the arguments %s is requiredRy   (   Rl  R/   t   _read_args_from_filesR3  R˜   Rœ   R  R†   t   iterR   t   _parse_optionalR!   R–   Rw  R=   R<   R`  R�   R0  Rš   RÝ   R«   R¿   t
   basestringR   R    R.   R0   t
   _get_valueRg   R   (   R"   R$   R1   RQ  R¤   R©   t   mutex_actiont	   conflictst   arg_string_pattern_partst   arg_strings_itert
   arg_stringR�  t   patternRš  R   RŒ  t   max_option_string_indexR—   t   next_option_string_indext   positionals_end_indext   stringst
   stop_indexRl   R&   R¦   Râ   R	  (    (   R‡  R$   R—  R˜  R1   R™  Rˆ   Rˆ  R‰  R"   RŠ  s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR|  Ò  sš    		
		J
			 	!!c         C   s  g  } xû | D]ó } | s- | d |  j  k r= | j | ƒ q yŒ t | d ƒ } zj g  } xA | j ƒ  j ƒ  D]- } x$ |  j | ƒ D] } | j | ƒ q‚ Wql W|  j | ƒ } | j | ƒ Wd  | j ƒ  XWq t	 k
 rÿ t
 j ƒ  d } |  j t | ƒ ƒ q Xq W| S(   Ni    i   (   Rl  R   R®   t   readRÙ   t   convert_arg_line_to_argsR¡  R†   R¯   R  R  R~  R`  RÄ   (   R"   R$   t   new_arg_stringsRª  t	   args_filet   arg_lineR%   R  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR¡  È  s$    c         C   s   | g S(   N(    (   R"   Rµ  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR²  å  s    c         C   s§   |  j  | ƒ } t j | | ƒ } | d  k r” i t d ƒ d  6t d ƒ t 6t d ƒ t 6} t d ƒ | j } | j | j | ƒ } t	 | | ƒ ‚ n  t
 | j d ƒ ƒ S(   Ns   expected one arguments   expected at most one arguments   expected at least one arguments   expected %s argument(s)i   (   t   _get_nargs_patternRE   RK  R/   R�   R   R
   R¡   R�   R   Rj   R¦   (   R"   Rl   R—  t   nargs_patternRK  t   nargs_errorsR«   R	  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR‹  è  s    c   
      C   s°   g  } x£ t  t | ƒ d d ƒ D]‰ } | |  } d j g  | D] } |  j | ƒ ^ q< ƒ } t j | | ƒ } | d  k	 r | j g  | j ƒ  D] }	 t |	 ƒ ^ q‹ ƒ Pq q W| S(   Ni    iÿÿÿÿRS   (	   R›   Rj   R!   R¶  RE   RK  R/   R†   Rd   (
   R"   Rc   R—  RÂ   R©   t   actions_sliceRl   R«  RK  R  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR›  û  s    
	",c   	      C   s€  | s
 d  S| d |  j k r! d  S| |  j k rJ |  j | } | | d  f St | ƒ d k r` d  Sd | k r° | j d d ƒ \ } } | |  j k r° |  j | } | | | f Sn  |  j | ƒ } t | ƒ d k r"d j g  | D] \ } } } | ^ qÞ ƒ } | | f } |  j t d ƒ | ƒ n t | ƒ d k rA| \ } | S|  j	 j
 | ƒ rc|  j scd  Sn  d | k rsd  Sd  | d  f S(   Ni    i   t   =s   , s#   ambiguous option: %s could match %sRy   (   R/   R+  R1  Rj   t   splitt   _get_option_tuplesR!   R`  R�   R5  RK  R6  (	   R"   Rª  Rl   Rª   RŽ  t   option_tuplest   optionsR¸   R�  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR£    s:    	"		c   
      C   s™  g  } |  j  } | d | k r´ | d | k r´ d | k rV | j d d ƒ \ } } n | } d  } x0|  j D]A } | j | ƒ rl |  j | } | | | f } | j | ƒ ql ql Wná | d | k r~| d | k r~| } d  } | d  } | d }	 xž |  j D]y } | | k r<|  j | } | | |	 f } | j | ƒ qþ | j | ƒ rþ |  j | } | | | f } | j | ƒ qþ qþ Wn |  j t d ƒ | ƒ | S(   Ni    i   Rº  i   s   unexpected option string: %s(   R+  R»  R/   R1  t
   startswithR   R`  R�   (
   R"   Rª   RÂ   RB  t   option_prefixRŽ  Rl   R¸   t   short_option_prefixt   short_explicit_arg(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR¼  D  s8    	  

c         C   sÒ   | j  } | d  k r d } n€ | t k r3 d } nk | t k rH d } nV | t k r] d } nA | t k rr d } n, | t k r‡ d } n d d j d	 | ƒ } | j rÎ | j	 d d
 ƒ } | j	 d d
 ƒ } n  | S(   Ns   (-*A-*)s   (-*A?-*)s	   (-*[A-]*)s
   (-*A[A-]*)s   ([-AO]*)s   (-*A[-AO]*)s   (-*%s-*)s   -*R€  RS   R  (
   R¡   R/   R   R   R
   R   R   R!   Rƒ   RT  (   R"   Rl   R¡   R·  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR¶  p  s$    								c         C   s  | j  t t g k r= y | j d ƒ Wq= t k
 r9 q= Xn  | r¨ | j  t k r¨ | j rh | j } n	 | j } t	 | t
 ƒ r|  j | | ƒ } |  j | | ƒ qnq| rü | j  t k rü | j rü | j d  k	 rã | j } n | } |  j | | ƒ nt | ƒ d k rQ| j  d  t g k rQ| \ } |  j | | ƒ } |  j | | ƒ nÈ | j  t k rˆg  | D] } |  j | | ƒ ^ qg} n‘ | j  t k rÓg  | D] } |  j | | ƒ ^ qž} |  j | | d ƒ nF g  | D] } |  j | | ƒ ^ qÚ} x | D] } |  j | | ƒ qÿW| S(   Ns   --i   i    (   R¡   R   R   RL  R8   R   Rƒ   Rá   R«   R¿   R¤  R¥  t   _check_valueR   R/   Rj   (   R"   Rl   R$   R'   Rª  Rc  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR‚  œ  s>    		
'	(%%c         C   s  |  j  d | j | j ƒ } t | ƒ sI t d ƒ } t | | | ƒ ‚ n  y | | ƒ } Wn­ t k
 r¯ t | j d t | j ƒ ƒ } t t	 j
 ƒ  d ƒ } t | | ƒ ‚ nZ t t f k
 rt | j d t | j ƒ ƒ } t d ƒ } t | | | | f ƒ ‚ n X| S(   NR   s   %r is not callableR   i   s   invalid %s value: %r(   R9  R   R   R�   R   R   R.   R   RÄ   R  R~  R@  R8   (   R"   Rl   Rª  RD  R	  RÂ   R&   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR¥  Ð  s    c         C   se   | j  d  k	 ra | | j  k ra | d j t t | j  ƒ ƒ f } t d ƒ | } t | | ƒ ‚ n  d  S(   Ns   , s#   invalid choice: %r (choose from %s)(   RÃ   R/   R!   t   mapR   R�   R   (   R"   Rl   R'   R¸   R	  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRÃ  é  s    !c         C   s2   |  j  ƒ  } | j |  j |  j |  j ƒ | j ƒ  S(   N(   R÷   Rf   Rb   R0  R3  RY   (   R"   RP   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   format_usageó  s    
c         C   s    |  j  ƒ  } | j |  j |  j |  j ƒ | j |  j ƒ xK |  j D]@ } | j | j	 ƒ | j | j ƒ | j
 | j ƒ | j ƒ  qB W| j |  j ƒ | j ƒ  S(   N(   R÷   Rf   Rb   R0  R3  R`   R)  R2  R\   RN  Rt   R˜   R]   Rj  RY   (   R"   RP   t   action_group(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRY   ù  s    
c         C   sB   d d  l  } | j d t ƒ |  j ƒ  } | j |  j ƒ | j ƒ  S(   Niÿÿÿÿsk   The format_version method is deprecated -- the "version" argument to ArgumentParser is no longer supported.(   Rd  Re  Rf  R÷   R`   Rö   RY   (   R"   Rd  RP   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   format_version	  s    c         C   s   |  j  d |  j ƒ S(   NRI   (   Rk  RI   (   R"   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR÷   	  s    c         C   s2   | d  k r t j } n  |  j |  j ƒ  | ƒ d  S(   N(   R/   R  R  t   _print_messageRÅ  (   R"   t   file(    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   print_usage 	  s    c         C   s2   | d  k r t j } n  |  j |  j ƒ  | ƒ d  S(   N(   R/   R  R  RÈ  RY   (   R"   RÉ  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRó   %	  s    c         C   s6   d d  l  } | j d t ƒ |  j |  j ƒ  | ƒ d  S(   Niÿÿÿÿsj   The print_version method is deprecated -- the "version" argument to ArgumentParser is no longer supported.(   Rd  Re  Rf  RÈ  RÇ  (   R"   RÉ  Rd  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   print_version*	  s
    c         C   s2   | r. | d  k r t j } n  | j | ƒ n  d  S(   N(   R/   R  t   stderrt   write(   R"   Rß   RÉ  (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRÈ  2	  s    i    c         C   s-   | r |  j  | t j ƒ n  t j | ƒ d  S(   N(   RÈ  R  RÌ  Rô   (   R"   t   statusRß   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRô   ;	  s    c         C   s7   |  j  t j ƒ |  j d t d ƒ |  j | f ƒ d S(   sð   error(message: string)

        Prints a usage message incorporating the message to stderr and
        exits.

        If you override this in a subclass, it should not return -- it
        should either exit or raise an exception.
        i   s   %s: error: %s
N(   RÊ  R  RÌ  Rô   R�   RI   (   R"   Rß   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR`  @	  s    	N(#   R   R,   R-   R/   R   R£   RM   R    Ry  RA  Rz  Rw  R{  R  R|  R¡  R²  R‹  R›  R£  R¼  R¶  R‚  R¥  RÃ  RÅ  RY   RÇ  R÷   RÊ  Ró   RË  RÈ  Rô   R`  (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyR      sR   B					#	ö					9	,	,	4		
			
		(5   R-   t   __version__t   __all__t   collectionsRý   Rî   Rí   t   osR5   t   reRE   t   sysR  t   textwrapRÓ   R   R�   R   R   R   R   R
   R   R   R  RØ   R   R2   R   R   R   R   RÝ   t	   ExceptionR   R   R	   Rç   Ré   Rê   Rë   Rì   Rï   Rð   Rò   Rõ   Rø   R   R   R!  RE  RG  R    (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyt   <module>>   sx   			
ÿ ç		[#%T,ÿ 1"