mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix desc_sig_space
This commit is contained in:
parent
87414faa92
commit
3fdc9bcf9f
@ -294,8 +294,9 @@ class desc_sig_space(desc_sig_element):
|
||||
"""Node for a space in a signature."""
|
||||
classes = ["w"]
|
||||
|
||||
def __init__(self) -> None:
|
||||
super().__init__(' ', ' ')
|
||||
def __init__(self, rawsource: str = '', text: str = ' ',
|
||||
*children: Element, **attributes: Any) -> None:
|
||||
super().__init__(rawsource, text, *children, **attributes)
|
||||
|
||||
|
||||
class desc_sig_name(desc_sig_element):
|
||||
|
Loading…
Reference in New Issue
Block a user