Convert to python3.5 syntax (no local type-annotations).

This commit is contained in:
Mike Auty
2017-12-09 20:48:48 +00:00
parent 9b1736f737
commit c504ee5822
18 changed files with 45 additions and 46 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ class Template(validity.ValidityRoutines):
# Allow the updating of template arguments whilst still in template form
super().__init__()
self._arguments = arguments
empty_dict: typing.Dict[str, typing.Any] = {}
empty_dict = {} # type: typing.Dict[str, typing.Any]
self._vol = collections.ChainMap(empty_dict, self._arguments, {'type_name': type_name})
@property