set a default so translations don't to be specified

This commit is contained in:
Keewis 2020-05-29 21:07:53 +02:00
parent 9835f1fff8
commit 9bfbe252f1

View File

@ -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"