ó
ˆ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 k s- t d ƒ ‚ |  j d 8_ d  S(   Ni    s   Indent decreased below 0.i   (   R?   R:   t   AssertionErrorR@   (   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"   RQ   RR   RS   (    (    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   
(
   RR   R/   RQ   RN   t   _join_partsR+   RP   RS   R   R?   (   R"   R!   t   funct   argst	   item_helpt   current_indentRS   (    (    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   RZ   (    (    (    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"   RV   RW   (    (    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   R[   RZ   (   R"   RS   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   RR   RP   (   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/   R[   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   R[   t   _format_usage(   R"   t   usaget   actionst   groupst   prefixRW   (    (    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   R[   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(   Rt   (   R"   Rd   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.pyt   add_arguments  s    c         C   sD   |  j  j ƒ  } | r@ |  j j d | ƒ } | j d ƒ d } n  | S(   Ns   

s   
(   RC   RZ   RH   t   subt   strip(   R"   Rh   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRZ     s
    c         C   s2   d j  g  | D] } | r | t k	 r | ^ q ƒ S(   NRT   (   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.pyRU     s    	
c            s  | d  k r t d ƒ } n  | d  k	 r@ | t d |  j ƒ } nÍ| d  k rl | rl d t d |  j ƒ } n¡| 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 j | ƒ | k sªt ‚ d j | ƒ | k sÅt ‚ d  ‡  f d † } t
 | ƒ t
 | ƒ d ˆ  k r{d t
 | ƒ t
 | ƒ d } | rM| | g | | | ƒ } | j | | | ƒ ƒ qø| ro| | 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   Rz   i    (   R/   Rk   R   R!   (   t   partst   indentRf   t   linest   linet   line_lenRy   (   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?   Rk   RE   t   findallRO   t   extend(   R"   Rc   Rd   Re   Rf   RI   t	   optionalst   positionalsRm   t   formatt   action_usageRq   t   part_regexpt	   opt_usaget	   pos_usaget	   opt_partst	   pos_partsR�   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.pyRb   $  sZ    		. 
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   reverseRz   s   [\[(]s   [\])]s   (%s) s   \1s    (%s)s   %s *%sRT   s   \(([^|]*)\)(   t   sett   indext   _group_actionsR8   Rk   t   addt   requiredt   ranget	   enumerateRh   R   R   R/   t   gett   popR„   t   _format_argst   destt   nargst   upperR)   t   TrueR!   RE   Rv   Rw   (   R"   Rd   Re   t   group_actionst   insertst   groupt   startt   endRm   t   iR{   Ry   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   Rz   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   RT   s   %*s%s
s	   %*s%-*s  i    i   s   
(   R<   RA   R;   R=   R>   R?   Ri   Rh   Rk   t   _expand_helpt   _split_linesR   t   endswithRj   Rl   RU   (   R"   Rm   t   help_positiont
   help_widtht   action_widtht   action_headert   tupt   indent_firstR{   t	   help_textt
   help_linesR~   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.pyRl   ë  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"   Rm   t   metavarR{   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.pyRi     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"   Rm   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 ...Rz   (
   R½   R¢   R/   R   R   R
   R   R   Rœ   R!   (   R"   Rm   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"   Rm   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   RP   (   R"   Rm   t   get_subactionsRp   (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRj   a  s    
	c         C   s+   |  j  j d | ƒ j ƒ  } t j | | ƒ S(   NRz   (   RG   Rv   Rw   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(   NRz   t   initial_indentt   subsequent_indent(   RG   Rv   Rw   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(   Rh   (   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Í   u  s    N(   R   R,   R-   R/   RM   RN   RP   t   objectRB   R[   R]   R^   Ra   Rg   Rt   Ru   RZ   RU   Rb   R…   R_   Rl   Ri   R½   R    R²   Rj   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(   NRT   (   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)(   Rh   R¬   R   R   R   R„   R¢   (   R"   Rm   Rh   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›   Rh   R¾   (   R"   R„   R¡   R¢   Râ   R¬   R   RÄ   R›   Rh   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Ä   Rh   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›   Rh   R¾   (   R8   R/   R   t   superRè   RM   (   R"   R„   R¡   R¢   Râ   R¬   R   RÄ   R›   Rh   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›   Rh   (   Ré   Rê   RM   (   R"   R„   R¡   Râ   R¬   R›   Rh   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›   Rh   (   Ré   Rë   RM   R¤   (   R"   R„   R¡   R¬   R›   Rh   (    (    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›   Rh   (   Ré   Rì   RM   Rç   (   R"   R„   R¡   R¬   R›   Rh   (    (    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›   Rh   R¾   (   R8   R/   R   Ré   Rí   RM   (   R"   R„   R¡   R¢   Râ   R¬   R   RÄ   R›   Rh   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›   Rh   R¾   (   Ré   Rð   RM   (   R"   R„   R¡   Râ   R¬   R›   Rh   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›   Rh   (   Ré   Rñ   RM   (   R"   R„   R¡   R¬   R›   Rh   (    (    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    Rh   (   Ré   Ró   RM   (   R"   R„   R¡   R¬   Rh   (    (    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    Rh   (   Ré   Rö   RM   t   version(   R"   R„   R÷   R¡   R¬   Rh   (    (    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_formatterRa   Rõ   RZ   (   R"   Rå   R1   Ræ   R«   R÷   RQ   (    (    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¡   Rh   (   Ré   Rù   Rú   RM   (   R"   R&   Rh   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Ä   Rh   R¾   (
   t   _prog_prefixt   _parser_classt   _collectionst   OrderedDictt   _name_parser_mapt   _choices_actionsRé   Rù   RM   R   (   R"   R„   RI   t   parser_classR¡   Rh   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 %sRh   (	   Rž   R/   Rü   RŸ   Rú   R  R   Rý   R   (   R"   R&   t   kwargsRh   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"   RW   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(   NRm   t   storet   store_constt
   store_truet   store_falseR   t   append_constt   countRh   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"   R8  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(   R5  t   updateR1  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.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(   R1  R¡   R¬   R/   R5  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.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,  Rk   R8   t   _get_positional_kwargst   _get_optional_kwargsR5  R+  R/   t   _pop_action_classR   R:  R   R   Rø   R    t	   TypeErrort   _add_action(   R"   RW   R  t   charsR¡   t   action_classRm   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.pyRt   ó  s2    		-
c         O   s&   t  |  | | Ž } |  j j | ƒ | S(   N(   t   _ArgumentGroupR3  R   (   R"   RW   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   _MutuallyExclusiveGroupR4  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_conflictR1  R   t	   containerR„   R2  R6  t   matchR7  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.pyRB  ,  s    		c         C   s   |  j  j | ƒ d  S(   N(   R1  t   remove(   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.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›   (   R3  RO  R‚   R8   RG  R*  R-  R™   R4  RI  R›   R1  Rž   RB  (   R"   RK  t   title_group_mapR§   R
  t	   group_mapRm   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‚   RA  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   Rk   RŸ   R/   t   lstript   replaceRƒ   (
   R"   RW   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(   NRm   (   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@  Ÿ  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.pyR0  £  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„   R2  R   R0  (   R"   Rm   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.pyRJ  ¬  s    c         C   sK   t  d ƒ } d j g  | D] \ } } | ^ q ƒ } t | | | ƒ ‚ d  S(   Ns    conflicting option string(s): %ss   , (   R‚   R!   R   (   R"   Rm   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„   RM  R2  RŸ   R/   RK  RN  (   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.pyt   _handle_conflict_resolveÁ  s
    	N(   R   R,   RM   R/  R/   R:  R<  R=  Rt   RG  RI  RB  RN  RS  R>  R?  R@  R0  RJ  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				
	/					(		#				RF  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é   RF  RM   RO  R™   R.  R1  R2  R5  R7  R4  (   R"   RK  RO  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é   RF  RB  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.pyRB  è  s    c         C   s*   t  t |  ƒ j | ƒ |  j j | ƒ d  S(   N(   Ré   RF  RN  R™   RM  (   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.pyRN  í  s    N(   R   R,   R/   RM   RB  RN  (    (    (    s~   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/argparse.pyRF  Ð  s   	RH  c           B   s&   e  Z e d  „ Z d „  Z d „  Z RS(   c         C   s,   t  t |  ƒ j | ƒ | |  _ | |  _ d  S(   N(   Ré   RH  RM   R›   t
   _container(   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.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`  RB  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.pyRB  ù  s    	c         C   s$   |  j  j | ƒ |  j j | ƒ d  S(   N(   R`  RN  R™   RM  (   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.pyRN    s    (   R   R,   Rç   RM   RB  RN  (    (    (    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           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   Rh   Rm   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   Rc   t   epilogR÷   t   formatter_classt   fromfile_prefix_charst   add_helpRG  R‚   t   _positionalst
   _optionalst   _subparsersR/  Rt   R   RS  R5  RÒ   R;  (   R"   RI   Rc   R*  Rk  R÷   t   parentsRl  R,  Rm  R+  R-  Rn  Re  t	   superinitt	   add_groupRb  t   default_prefixRR   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   Rc   R*  R÷   Rl  R-  Rn  (   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  RO  R*  t   subcommandsRI   RT   R)  R„   (   Rq  R/   Ra  R‚   R  R   RŸ   RG  Ro  Rž   Rø   t   _get_positional_actionsR4  Rg   Rc   RZ   Rw   R@  RB  (	   R"   R  RO  R*  RQ   R‰   Re   t   parsers_classRm   (    (    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„   Rp  RB  Ro  (   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.pyRB  ”  s    	c         C   s#   g  |  j  D] } | j r
 | ^ q
 S(   N(   R1  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.pyt   _get_optional_actions›  s    c         C   s#   g  |  j  D] } | j s
 | ^ q
 S(   N(   R1  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.pyRx     s    c         C   sK   |  j  | | ƒ \ } } | rG t d ƒ } |  j | d j | ƒ ƒ n  | S(   Ns   unrecognized arguments: %sRz   (   R  R‚   Ra  R!   (   R"   RW   R1   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.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  Rj  RÌ   R   R1  R¡   R   R   R¬   R0   R5  t   _parse_known_argsR  R‡   R.   t   delattrR   t   exc_infoRa  RÅ   (   R"   RW   R1   Rm   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   ORT   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   (   Rm   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+ W| sÚt ‚ x' | D] \ } } } ˆ | | | ƒ qáW| S(   Ni   R�  i    s   ignored explicit argument %r(	   t   _match_argumentR¤   R/   R   R,  R2  R‚   R   RO   (   t   start_indext   option_tupleRm   R«   t   explicit_argt   match_argumentt   action_tuplest	   arg_countRC  t   chart   new_explicit_argt   optionals_mapR
  t   stopRW   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  sP    
			
	
	
	


c            s   ˆ j  } ˆ |  } | ˆ | ƒ } xE t ˆ | ƒ D]4 \ } } ˆ  |  |  | !} |  | 7}  ˆ | | ƒ q2 Wˆ t | ƒ ˆ (|  S(   N(   t   _match_arguments_partialt   zipRk   (   R�  t   match_partialt   selected_patternt
   arg_countsRm   R’  RW   (   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 requiredRz   (   Rm  R/   t   _read_args_from_filesR4  R™   R�   R  R‡   t   iterR   t   _parse_optionalR!   R—   Rx  R=   R<   Ra  R‚   R1  R›   RÞ   R¬   RÀ   t
   basestringR   R¡   R.   R0   t
   _get_valueRh   R   (   R"   R$   R1   RR  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_indexRm   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   (   Rm  R   R¯   t   readRÚ   t   convert_arg_line_to_argsR¢  R‡   R°   R  R  R  Ra  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   RL  R/   R‚   R   R
   R¢   Rž   R   Rk   R§   (   R"   Rm   R˜  t   nargs_patternRL  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ÿÿÿÿRT   (	   Rœ   Rk   R!   R·  RE   RL  R/   R‡   Re   (
   R"   Rd   R˜  RÃ   Rª   t   actions_sliceRm   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œ  û  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 %sRz   (   R/   R,  R2  Rk   t   splitt   _get_option_tuplesR!   Ra  R‚   R6  RL  R7  (	   R"   R«  Rm   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/   R2  t
   startswithR   Ra  R‚   (
   R"   R«   RÃ   RC  t   option_prefixR�  Rm   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�  RT   R  (
   R¢   R/   R   R   R
   R   R   R!   R„   RU  (   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·  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   RM  R8   R   R„   Râ   R¬   RÀ   R¥  R¦  t   _check_valueR   R/   Rk   (   R"   Rm   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.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(   R:  R   R   R‚   R   R   R.   R   RÅ   R  R  RA  R8   (   R"   Rm   R«  RE  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"   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         C   s2   |  j  ƒ  } | j |  j |  j |  j ƒ | j ƒ  S(   N(   Rø   Rg   Rc   R1  R4  RZ   (   R"   RQ   (    (    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ø   Rg   Rc   R1  R4  Ra   R*  R3  R]   RO  Ru   R™   R^   Rk  RZ   (   R"   RQ   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.pyRZ   ù  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.(   Re  Rf  Rg  Rø   Ra   R÷   RZ   (   R"   Re  RQ   (    (    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   (   Rl  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É  RZ   (   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.(   Re  Rf  Rg  RÉ  RÈ  (   R"   RÊ  Re  (    (    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.pyRa  @	  s    	N(#   R   R,   R-   R/   R   R¤   RM   R    Rz  RB  R{  Rx  R|  R  R}  R¢  R³  RŒ  Rœ  R¤  R½  R·  Rƒ  R¦  RÄ  RÆ  RZ   RÈ  Rø   RË  Rô   RÌ  RÉ  Rõ   Ra  (    (    (    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"  RF  RH  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"