8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
next
1 parent c339d39 commit 99cae0eCopy full SHA for 99cae0e
Doc/tools/extensions/pyspecific.py
@@ -288,6 +288,9 @@ def run(self):
288
version_deprecated = expand_version_arg(self.arguments[0],
289
self.config.release)
290
version_removed = self.arguments.pop(1)
291
+ if version_removed == 'next':
292
+ raise ValueError(
293
+ 'deprecated-removed:: second argument cannot be `next`')
294
self.arguments[0] = version_deprecated, version_removed
295
296
# Set the label based on if we have reached the removal version
0 commit comments