Change-Id: I3cc65f7452458c9ebdb03e1ef8c615af279fcbb3
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
# Upstream repository: <https://github.com/efficios/normand>.
__author__ = "Philippe Proulx"
# Upstream repository: <https://github.com/efficios/normand>.
__author__ = "Philippe Proulx"
__all__ = [
"ByteOrder",
"parse",
__all__ = [
"ByteOrder",
"parse",
# Variable/label dictionary type.
# Variable/label dictionary type.
-SymbolsT = Dict[str, int]
+SymbolsT = Dict[str, Union[int, float]]
# Returns a dictionary of string to integers from the list of strings
# `args` containing `NAME=VAL` entries.
def _dict_from_arg(args: Optional[List[str]]):
# Returns a dictionary of string to integers from the list of strings
# `args` containing `NAME=VAL` entries.
def _dict_from_arg(args: Optional[List[str]]):
- d = {} # type: Dict[str, int]
+ d = {} # type: SymbolsT
if args is None:
return d
if args is None:
return d
[tool.poetry]
name = 'normand'
[tool.poetry]
name = 'normand'
description = 'Text-to-binary processor with its own language'
license = 'MIT'
authors = ['Philippe Proulx <eeppeliteloop@gmail.com>']
description = 'Text-to-binary processor with its own language'
license = 'MIT'
authors = ['Philippe Proulx <eeppeliteloop@gmail.com>']