/usr/local/lib/python3.6/site-packages/datasets/utils/__pycache__
Edit: /usr/local/lib/python3.6/site-packages/datasets/utils/__pycache__/version.cpython-36.pyc (4539B)
3
<%Eg @ sx d Z ddlZddlZddlmZ ddlmZmZ dZejej ddZ
ejej ddZeG d d
d
Zddd
Z
dS )zVersion utils. N) dataclass)OptionalUnionz0^(?P
{v})\.(?P{v})\.(?P{v})$z\d+|\*)vz\d+c @ s e Zd ZU dZedZee dZee ee
f dZee ee
f dZee ee
f dd Z
dd Zedd Zd d
Zdd Zd
d Zdd Zdd Zdd Zdd Zdd Zedd ZdS )Versiona Dataset version MAJOR.MINOR.PATCH.
Args:
version_str (:obj:`str`): Eg: "1.2.3".
description (:obj:`str`): A description of what is new in this version.
Attributes:
version_str (:obj:`str`): Eg: "1.2.3".
description (:obj:`str`): A description of what is new in this version.
major (:obj:`str`):
minor (:obj:`str`):
patch (:obj:`str`):
Example:
```py
>>> VERSION = datasets.Version("1.0.0")
```
Nc C s t | j\| _| _| _d S )N)_str_to_versionversion_strmajorminorpatch)self r
@/usr/local/lib/python3.6/site-packages/datasets/utils/version.py
__post_init__9 s zVersion.__post_init__c C s&