We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
next
1 parent 8a71900 commit ea29503Copy full SHA for ea29503
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