3
6ßL]Ï  ã               @   s<   d dl mZ d dlmZ G dd„ deƒZG dd„ deƒZdS )é    )ÚInt)ÚAbstractCommandc               @   s0   e Zd ZdZdZeZdd„ Zdd„ Zdd„ Z	d	S )
ÚSimpleCommandz4 Simplest command possible operating on an integer. zIncrement by 1c             C   s   | j ƒ  d S )N)Úredo)Úself© r   úJ/tmp/pip-install-5sebvq2j/apptools/apptools/undo/tests/testing_commands.pyÚdo   s    zSimpleCommand.doc             C   s   |  j d7  _ d S )Né   )Údata)r   r   r   r   r      s    zSimpleCommand.redoc             C   s   |  j d8  _ d S )Nr
   )r   )r   r   r   r   Úundo    s    zSimpleCommand.undoN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__Únamer   r   r	   r   r   r   r   r   r   r      s   r   c               @   s   e Zd ZdZdS )ÚUnnamedCommandÚ N)r   r   r   r   r   r   r   r   r   $   s   r   N)Z
traits.apir   Zapptools.undo.apir   r   r   r   r   r   r   Ú<module>   s   