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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy