Initialize a version object from its string representation. :raises InvalidVersion: If the ``version`` does not conform to the scheme in any way.
(self, version: str)
| 44 | """Regex capturing this version scheme into a `version` group""" |
| 45 | |
| 46 | def __init__(self, version: str) -> None: |
| 47 | """ |
| 48 | Initialize a version object from its string representation. |
| 49 | |
| 50 | :raises InvalidVersion: If the ``version`` does not conform to the scheme in any way. |
| 51 | """ |
| 52 | raise NotImplementedError("must be implemented") |
| 53 | |
| 54 | def __str__(self) -> str: |
| 55 | """A string representation of the version that can be rounded-tripped.""" |
nothing calls this directly
no outgoing calls
no test coverage detected