-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
Which version of Python is the problem with?
3.13, 3.12, 3.11, 3.10, 3.9, 3.8, 3.7, 3.14
What semver version are you using?
3.0.4
What OS are you using? (Add more in the Environment section)
Linux, Windows
Situation
These lines duplicate the lines above and below.
python-semver/src/semver/version.py
Lines 362 to 371 in 6adf876
# self._build or (token or "build") + ".0" | |
build = cls._increment_string(build) | |
if self._build is not None: | |
build = self._build | |
elif token == "": | |
build = "0" | |
elif token is None: | |
build = "build.0" | |
else: | |
build = str(token) + ".0" |
How to reproduce
N/A
Expected behavior
N/A
Environment
No response
tomschr
Metadata
Metadata
Assignees
Labels
No labels