Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe28d2a

Browse files
authored
Merge pull request #406 from treee111/next_version-docu
correct typo in function description of `next_version`
2 parents 3215a99 + 7625129 commit fe28d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/semver/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def next_version(self, part: str, prerelease_token: str = "rc") -> "Version":
432432
This function is taking prereleases into account.
433433
The "major", "minor", and "patch" raises the respective parts like
434434
the ``bump_*`` functions. The real difference is using the
435-
"preprelease" part. It gives you the next patch version of the
435+
"prerelease" part. It gives you the next patch version of the
436436
prerelease, for example:
437437
438438
>>> str(semver.parse("0.1.4").next_version("prerelease"))

0 commit comments

Comments
 (0)