관리-도구
편집 파일: pygen.cpython-38.pyc
U +�e�( � @ s2 d Z ddlZddlmZ G dd� d�Zdd� ZdS )z<utilities for generating and formatting literal Python code.� N)� exceptionsc @ sx e Zd Zdd� Zdd� Zdd� Zdd� Zdd d�Zdd � Zdd� Z dd� Z dd� Zddd�Zdd� Z dd� Zdd� Zd S )� PythonPrinterc C s� d| _ g | _d| _|| _d| _g | _d| _| �� i | _t � d�| _t � d�| _t � d�| _ t � d�| _t � d �| _t � d �| _d S )Nr z � Fz^\s*#z^\s*$z:[ \t]*(?:#.*)?$z ^\s*(if|try|elif|while|for|with)z(^\s*(def|class|else|elif|except|finally)z"^\s*(else|elif|except|finally).*\:)�indent� indent_detail�indentstring�stream�lineno�line_buffer�in_indent_lines�_reset_multi_line_flags� source_map�re�compile�_re_space_comment� _re_space� _re_indent�_re_compound�_re_indent_keyword�_re_unindentor)�selfr � r �8/opt/hc_python/lib/python3.8/site-packages/mako/pygen.py�__init__ s"