Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/misc/
Dplistlib.py161 def __init__(self, use_builtin_types=None, dict_type=dict): argument
169 self._dict_type = dict_type
452 def fromtree(tree, use_builtin_types=None, dict_type=dict): argument
454 use_builtin_types=use_builtin_types, dict_type=dict_type
471 def load(fp, use_builtin_types=None, dict_type=dict): argument
477 use_builtin_types=use_builtin_types, dict_type=dict_type
489 def loads(value, use_builtin_types=None, dict_type=dict): argument
491 return load(fp, use_builtin_types=use_builtin_types, dict_type=dict_type)
/external/python/cpython3/Lib/
Dplistlib.py248 def __init__(self, use_builtin_types, dict_type): argument
253 self._dict_type = dict_type
538 def __init__(self, use_builtin_types, dict_type): argument
540 self._dict_type = dict_type
931 def load(fp, *, fmt=None, use_builtin_types=True, dict_type=dict): argument
949 p = P(use_builtin_types=use_builtin_types, dict_type=dict_type)
953 def loads(value, *, fmt=None, use_builtin_types=True, dict_type=dict): argument
959 fp, fmt=fmt, use_builtin_types=use_builtin_types, dict_type=dict_type)
Dconfigparser.py600 def __init__(self, defaults=None, dict_type=_default_dict, argument
607 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.rst47 .. function:: load(fp, \*, fmt=None, use_builtin_types=True, dict_type=dict)
65 The *dict_type* is the type used for dictionaries that are read from the
79 .. function:: loads(data, \*, fmt=None, use_builtin_types=True, dict_type=dict)
Dconfigparser.rst452 * *dict_type*, default value: :class:`collections.OrderedDict`
864 .. class:: ConfigParser(defaults=None, dict_type=collections.OrderedDict, allow_no_value=False, del…
867 into the dictionary of intrinsic defaults. When *dict_type* is given, it
911 The default *dict_type* is :class:`collections.OrderedDict`.
1182 .. class:: RawConfigParser(defaults=None, dict_type=collections.OrderedDict, \
/external/fonttools/Tests/misc/
Dplistlib_test.py259 BytesIO(b.getvalue()), dict_type=collections.OrderedDict
277 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.py250 dict_type=collections.OrderedDict)
268 pl2 = plistlib.loads(data, dict_type=collections.OrderedDict)
Dtest_weakref.py1123 def check_len_cycles(self, dict_type, cons): argument
1126 dct = dict_type(cons(o) for o in items)
1149 def check_len_race(self, dict_type, cons): argument
1157 dct = dict_type(cons(o) for o in items)
Dtest_configparser.py42 dict_type = configparser._default_dict variable in CfgParserTestCaseClass
55 dict_type=self.dict_type,
1405 dict_type = SortedDict variable in SortedTestCase