Page MenuHomePhabricator

Documentation of tools.deprecated is missing
Closed, ResolvedPublic

Description

documentation of tools.deprecation is missing. Instead of it the following is shown:

tools.deprecated(*outer_args, **outer_kwargs)[source]
Outer wrapper.

The outer wrapper may be the replacement function if the decorated decorator was called without arguments, or the replacement decorator if the decorated decorator was called without arguments.

PARAMETERS:
outer_args – args
outer_kwargs – kwargs

But this is the documentation of the outer wrapper of the add_fullname decorator.

Event Timeline

Xqt triaged this task as Medium priority.May 17 2024, 6:50 PM

Change #1033192 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [fix] show the right docstring with tools.deprecated

https://gerrit.wikimedia.org/r/1033192

Change #1033192 merged by jenkins-bot:

[pywikibot/core@master] [fix] show the right docstring with tools.deprecated

https://gerrit.wikimedia.org/r/1033192