Expand "next" to the current version
(argument: str, release: str)
| 18 | |
| 19 | |
| 20 | def expand_version_arg(argument: str, release: str) -> str: |
| 21 | """Expand "next" to the current version""" |
| 22 | if argument == "next": |
| 23 | return sphinx_gettext("{} (unreleased)").format(release) |
| 24 | return argument |
| 25 | |
| 26 | |
| 27 | class PyVersionChange(VersionChange): |