mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Revert keyword-only arguments change to `token_xrefs()
`
This commit is contained in:
parent
5667050dd2
commit
4936b27996
@ -553,7 +553,7 @@ class Glossary(SphinxDirective):
|
||||
return [*messages, node]
|
||||
|
||||
|
||||
def token_xrefs(text: str, *, production_group: str = '') -> list[Node]:
|
||||
def token_xrefs(text: str, production_group: str = '') -> list[Node]:
|
||||
if len(production_group) != 0:
|
||||
production_group += ':'
|
||||
retnodes: list[Node] = []
|
||||
|
Loading…
Reference in New Issue
Block a user