Home
last modified time | relevance | path

Searched refs:dict_type (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/core/function/trace_type/
Ddefault_types_test.py203 dict_type = default_types.Dict
204 dict_a = dict_type({
209 dict_b = dict_type({
214 dict_c = dict_type({'a': Mock2AsTopType(1), 'b': Mock2AsTopType(1)})
221 dict_type = default_types.Dict
222 dict_a = dict_type({
227 dict_b = dict_type({
237 dict_type({
269 dict_type = default_types.Dict
272 dict_a = dict_type({literal(1): literal(2), literal(3): literal(4)})
[all …]
/external/fonttools/Lib/fontTools/misc/plistlib/
D__init__.py186 dict_type: Type[MutableMapping[str, Any]] = dict,
201 self._dict_type = dict_type
492 dict_type: Type[MutableMapping[str, Any]] = dict,
505 target = PlistTarget(use_builtin_types=use_builtin_types, dict_type=dict_type)
524 dict_type: Type[MutableMapping[str, Any]] = dict,
542 target = PlistTarget(use_builtin_types=use_builtin_types, dict_type=dict_type)
556 dict_type: Type[MutableMapping[str, Any]] = dict,
573 return load(fp, use_builtin_types=use_builtin_types, dict_type=dict_type)
/external/python/cpython3/Lib/
Dplistlib.py165 def __init__(self, dict_type): argument
169 self._dict_type = dict_type
455 def __init__(self, dict_type): argument
456 self._dict_type = dict_type
856 def load(fp, *, fmt=None, dict_type=dict): argument
874 p = P(dict_type=dict_type)
878 def loads(value, *, fmt=None, dict_type=dict): argument
883 return load(fp, fmt=fmt, dict_type=dict_type)
Dconfigparser.py601 def __init__(self, defaults=None, dict_type=_default_dict, argument
608 self._dict = dict_type
/external/python/cpython2/Doc/library/
Dconfigparser.rst87 .. class:: RawConfigParser([defaults[, dict_type[, allow_no_value]]])
90 into the dictionary of intrinsic defaults. When *dict_type* is given, it will
105 *dict_type* was added.
108 The default *dict_type* is :class:`collections.OrderedDict`.
112 .. class:: ConfigParser([defaults[, dict_type[, allow_no_value]]])
129 *dict_type* was added.
132 The default *dict_type* is :class:`collections.OrderedDict`.
136 .. class:: SafeConfigParser([defaults[, dict_type[, allow_no_value]]])
148 *dict_type* was added.
151 The default *dict_type* is :class:`collections.OrderedDict`.
/external/python/cpython3/Doc/library/
Dplistlib.rst55 .. function:: load(fp, *, fmt=None, dict_type=dict)
69 The *dict_type* is the type used for dictionaries that are read from the
83 .. function:: loads(data, *, fmt=None, dict_type=dict)
Dconfigparser.rst490 * *dict_type*, default value: :class:`dict`
907 .. class:: ConfigParser(defaults=None, dict_type=dict, allow_no_value=False, delimiters=('=', ':'),…
910 into the dictionary of intrinsic defaults. When *dict_type* is given, it
954 The default *dict_type* is :class:`collections.OrderedDict`.
970 The default *dict_type* is :class:`dict`, since it now preserves
1241 .. class:: RawConfigParser(defaults=None, dict_type=dict, \
1255 The default *dict_type* is :class:`dict`, since it now preserves
/external/fonttools/Tests/misc/
Dplistlib_test.py246 BytesIO(b.getvalue()), dict_type=collections.OrderedDict
264 pl2 = plistlib.loads(data, dict_type=collections.OrderedDict)
/external/python/cpython2/Lib/
DConfigParser.py232 def __init__(self, defaults=None, dict_type=_default_dict, argument
234 self._dict = dict_type
/external/python/cpython2/Lib/test/
Dtest_weakref.py937 def check_len_cycles(self, dict_type, cons): argument
940 dct = dict_type(cons(i, o) for i, o in enumerate(items))
968 def check_len_race(self, dict_type, cons): argument
976 dct = dict_type(cons(o) for o in items)
Dtest_cfgparser.py588 self.cf = self.config_class(defaults=defaults, dict_type=SortedDict)
/external/python/cpython3/Lib/test/
Dtest_plistlib.py604 dict_type=collections.OrderedDict)
622 pl2 = plistlib.loads(data, dict_type=collections.OrderedDict)
Dtest_weakref.py1232 def check_len_cycles(self, dict_type, cons): argument
1235 dct = dict_type(cons(o) for o in items)
1258 def check_len_race(self, dict_type, cons): argument
1266 dct = dict_type(cons(o) for o in items)
Dtest_configparser.py43 dict_type = configparser._default_dict variable in CfgParserTestCaseClass
56 dict_type=self.dict_type,
1417 dict_type = SortedDict variable in SortedTestCase
/external/python/cpython3/Parser/
Dparser.c227 #define dict_type 1151 macro