Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1030155?usp=email )
Change subject: [doc] Fix sphinx role in SparqlQuery ......................................................................
[doc] Fix sphinx role in SparqlQuery
Change-Id: I0e93e1fa927c9e1728a0e011072bc22698690d6e --- M pywikibot/data/sparql.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/pywikibot/data/sparql.py b/pywikibot/data/sparql.py index 95bd47d..69e26e8 100644 --- a/pywikibot/data/sparql.py +++ b/pywikibot/data/sparql.py @@ -1,6 +1,6 @@ """SPARQL Query interface.""" # -# (C) Pywikibot team, 2016-2023 +# (C) Pywikibot team, 2016-2024 # # Distributed under the terms of the MIT license. # @@ -140,7 +140,7 @@ """Run SPARQL query and return parsed JSON result.
.. versionchanged:: 8.5 - :exc:``exceptions.NoUsernameError` is raised if the response + :exc:`exceptions.NoUsernameError` is raised if the response looks like the user is not logged in.
:param query: Query text