mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
set a default so translations don't to be specified
This commit is contained in:
parent
9835f1fff8
commit
9bfbe252f1
@ -848,7 +848,7 @@ def _tokenize_type_spec(spec):
|
||||
return _recombine_set_tokens(tokens)
|
||||
|
||||
|
||||
def _convert_numpy_type_spec(_type, translations):
|
||||
def _convert_numpy_type_spec(_type, translations={}):
|
||||
def token_type(token):
|
||||
if token.startswith(" ") or token.endswith(" "):
|
||||
type_ = "delimiter"
|
||||
|
Loading…
Reference in New Issue
Block a user