ok
Direktori : /opt/alt/python36/lib64/python3.6/idlelib/__pycache__/ |
Current File : //opt/alt/python36/lib64/python3.6/idlelib/__pycache__/codecontext.cpython-36.opt-2.pyc |
3 ��2a�( � @ s� d dl Z d dlmZ d dlZd dlmZmZmZ d dl m Z ddddd d ddd dddhZdZdZ e jd�fdd�Zdd� ZG dd� d�Zej� edkr�d dlmZ edddd� dS ) � N)�maxsize)�TOP�X�SUNKEN)�idleConf�class�def�elif�else�except�finally�for�if�try�while�with�async�d i� z^(\s*)(\w*)c C s |j | �j� S )N)�match�groups)�codeline�c� r �0/opt/alt/python36/lib64/python3.6/codecontext.py�get_spaces_firstword s r c C sF t | �\}}t|�}t| �|ks,| | dkr0t}|tko:|}|| |fS )N�#)r �len�INFINITY�BLOCKOPENERS)r ZspacesZ firstword�indent�openerr r r � get_line_info s r! c @ s^ e Zd Zdd� Zedd� �Zdd� Zddd �Zddd �Zdd� Z ddd�Z dd� Zdd� ZdS )�CodeContextc C s^ || _ |j| _| jd | _tj| _d | _d| _dg| _| jj t | j�| _| jj t | j�| _d S )N�font� r � F���)r r&