File: //lib64/python3.6/distutils/__pycache__/fancy_getopt.cpython-36.opt-2.pyc
3
  \xE  �               @   s�   d dl Z d dlZd dlZd dlZd dlT dZejde �Zejdeef �Ze	j
dd�ZG dd	� d	�Zd
d� Z
dd
� ejD �Zdd� Zdd� ZG dd� d�Zedkr�dZx2dD ]*Zede � edjeee��� e�  q�W dS )�    N)�*z[a-zA-Z](?:[a-zA-Z0-9-]*)z^%s$z^(%s)=!(%s)$�-�_c               @   s�   e Zd Zddd�Zdd� Zdd� Zddd	�Zd
d� Zdd
� Zdd� Z	dd� Z
dd� Zdd� Zd dd�Z
dd� Zd!dd�Zd"dd�ZdS )#�FancyGetoptNc             C   sN   || _ i | _| j r| j�  i | _i | _g | _g | _i | _i | _i | _	g | _
d S )N)�option_table�option_index�_build_index�alias�negative_alias�
short_opts�	long_opts�
short2long�	attr_name�	takes_arg�option_order)�selfr   � r   �./usr/lib64/python3.6/distutils/fancy_getopt.py�__init__)   s    	zFancyGetopt.__init__c             C   s,   | j j�  x| jD ]}|| j |d <