AlkantarClanX12
Current Path : /opt/alt/python310/lib64/python3.10/__pycache__/ |
Current File : //opt/alt/python310/lib64/python3.10/__pycache__/shlex.cpython-310.opt-2.pyc |
o 6��f�4 � @ s� d dl Z d dlZd dlZd dlmZ d dlmZ g d�ZG dd� d�Zdd d �Z dd� Z e�d ej�j Zdd� Zdd� Zedkrreej�dkrOee� � dS ejd Zee��Zeeee�� W d � dS 1 skw Y dS dS )� N)�deque)�StringIO)�shlex�split�quote�joinc @ st e Zd Z ddd�Zedd� �Zdd� Zdd d �Zdd� Zd d� Z dd� Z dd� Zddd�Zdd� Z dd� ZdS )r NFc C s t |t�r t|�}|d ur|| _|| _ntj| _d | _|| _|r$d | _nd| _d| _ d| _ | jr7| j d7 _ d| _d| _d| _ d| _d | _d | _t� | _d| _d| _d| _t� | _d | _|sbd}n|d u rhd}|| _|r�t� | _| j d7 _ | j �t�|��}| j �|�| _ d S d S )N� �#Z?abcdfeghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_u| ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞz Fz'"�\�"� � r Tz();<>|&z~-./*?=)� isinstance�strr �instream�infile�sys�stdin�posix�eof� commenters� wordchars� whitespace�whitespace_split�quotes�escape� escapedquotes�stater �pushback�lineno�debug�token� filestack�source�_punctuation_chars�_pushback_chars� maketrans�dict�fromkeys� translate)�selfr r r �punctuation_chars�t� r- �,/opt/alt/python310/lib64/python3.10/shlex.py�__init__ sL �zshlex.__init__c C s | j S �N)r$ �r* r- r- r. r+ D s zshlex.punctuation_charsc C s, | j dkrtdt|� � | j�|� d S )Nr zshlex: pushing token )r �print�reprr � appendleft)r* �tokr- r- r. � push_tokenH s zshlex.push_tokenc C sx t |t�r t|�}| j�| j| j| jf� || _|| _d| _| jr:|d ur0t d| jf � d S t d| jf � d S d S )Nr zshlex: pushing to file %szshlex: pushing to stream %s) r r r r"