관리-도구
편집 파일: test_menuleak.cpython-37.opt-1.pyc
B �]| � @ s^ d dl T d dlZd dlZG dd� de�Zdd� Zdd� Zx eefD ]Zee� ee� qBW dS ) � )�*Nc @ s e Zd Zddd�ZdS )� FixedMenuNc C s� t | j� |dkr|}g }xFt| �|�| �|�d �D ](}t| �|d��}|| jkr6|�|� q6W | j�| j d||� x|D ]}| � |� q|W dS )z7Delete menu items between INDEX1 and INDEX2 (included).N� �command�delete)�printZ_tclCommands�range�index�strZ entrycget�appendZtk�callZ_wZ deletecommand)�selfZindex1Zindex2Zcmds�i�c� r �Q/opt/alt/python37/lib64/python3.7/site-packages/guppy/heapy/test/test_menuleak.pyr s zFixedMenu.delete)N)�__name__� __module__�__qualname__r r r r r r s r c C s� t �� t� }t|dd�}| |�}||d<