B
    p[B                 @   s0   d Z ddlmZ ddlmZ G dd deZdS )zContains the ValueWidget class   )Widget    )Anyc                   s2   e Zd ZdZeddZdd Z fddZ  ZS )ValueWidgetz@Widget that can be used for the input of an interactive functionzThe value of the widget.)helpc             C   s   | j S )zReturn the value for this widget which should be passed to
        interactive functions. Custom widgets can change this method
        to process the raw value ``self.value``.
        )value)self r	   =lib/python3.7/site-packages/ipywidgets/widgets/valuewidget.pyget_interact_value   s    zValueWidget.get_interact_valuec             #   s0   dV  x$t t|  D ]}|dkr|V  qW d S )Nr   )superr   
_repr_keys)r   key)	__class__r	   r
   r      s    zValueWidget._repr_keys)	__name__
__module____qualname____doc__r   r   r   r   __classcell__r	   r	   )r   r
   r   
   s   
r   N)r   Zwidgetr   Z	traitletsr   r   r	   r	   r	   r
   <module>   s   