Since 2.4.0 we got warnings like these:
```
08:53:25 WARNING: error while formatting arguments for
pywikibot.Claim.__init__: wrong parameter order:
<_ParameterKind.VAR_KEYWORD: 4> before
<_ParameterKind.POSITIONAL_OR_KEYWORD: 1>
```
But there seems to be nothing wrong with:
```
@deprecated_args(isReference='is_reference',
isQualifier='is_qualifier')
def __init__(self, site, pid, snak=None, hash=None,
is_reference=False,
is_qualifier=False, rank='normal', **kwargs):
"""
Initializer.
Defined by the "snak" value, supplemented by site + pid
@param site: repository the claim is on
@type site: pywikibot.site.DataSite
@param pid: property id, with "P" prefix
@param snak: snak identifier for claim
@param hash: hash identifier for references
@param is_reference: whether specified claim is a reference
@param is_qualifier: whether specified claim is a qualifier
@param rank: rank for claim
"""
```
How to fix these?
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sphinx-users/402a20ba-eb40-4929-aa47-421d151f1727%40googlegroups.com.