U
    ‰d‰  ã                   @   s   G d d„ dƒZ dS )c                   @   s0   e Zd ZdZdZedd„ ƒZdd„ Zdd„ Zd	S )
ÚPathz-This class represents a path in a JSON value.Ú c                   C   s   dS )z-Return the root path's string representation.Ú.© r   r   r   ú</tmp/pip-unpacked-wheel-f5h5_hbx/redis/commands/json/path.pyÚ	root_path   s    zPath.root_pathc                 C   s
   || _ dS )z=Make a new path based on the string representation in `path`.N©ÚstrPath)ÚselfÚpathr   r   r   Ú__init__   s    zPath.__init__c                 C   s   | j S )Nr   )r	   r   r   r   Ú__repr__   s    zPath.__repr__N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ústaticmethodr   r   r   r   r   r   r   r      s   
r   N)r   r   r   r   r   Ú<module>   ó    