Thanks to visit codestin.com Credit goes to github.com
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 6716dd1 commit e349f73Copy full SHA for e349f73
1 file changed
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