Searched refs:SimpleNamespace (Results 1 – 19 of 19) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_types.py | 1154 ns1 = types.SimpleNamespace() 1155 ns2 = types.SimpleNamespace(x=1, y=2) 1156 ns3 = types.SimpleNamespace(**dict(x=1, y=2)) 1159 types.SimpleNamespace(1, 2, 3) 1161 types.SimpleNamespace(**{1: 2}) 1171 ns1 = vars(types.SimpleNamespace()) 1172 ns2 = vars(types.SimpleNamespace(x=1, y=2)) 1178 ns1 = types.SimpleNamespace() 1179 ns2 = types.SimpleNamespace(x=1, y=2) 1180 ns3 = types.SimpleNamespace(a=True, b=False) [all …]
|
/external/fonttools/Tests/ttLib/tables/ |
D | T_S_I__0_test.py | 2 from fontTools.misc.py23 import SimpleNamespace 67 font = {'maxp': SimpleNamespace(numGlyphs=numGlyphs)}
|
/external/fonttools/Snippets/ |
D | svg2glif.py | 8 from fontTools.misc.py23 import SimpleNamespace 26 glyph = SimpleNamespace(width=width, height=height, unicodes=unicodes)
|
/external/python/cpython3/Doc/library/ |
D | types.rst | 310 .. class:: SimpleNamespace 315 Unlike :class:`object`, with ``SimpleNamespace`` you can add and remove 316 attributes. If a ``SimpleNamespace`` object is initialized with keyword 321 class SimpleNamespace: 333 ``SimpleNamespace`` may be useful as a replacement for ``class NS: pass``.
|
D | collections.rst | 1026 * See :meth:`types.SimpleNamespace` for a mutable namespace based on an
|
/external/fonttools/Lib/fontTools/misc/ |
D | py23.py | 452 from types import SimpleNamespace 454 class SimpleNamespace(object): class
|
D | plistlib.py | 29 SimpleNamespace, 442 context = SimpleNamespace(
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | util.py | 23 BUILTINS = types.SimpleNamespace() 31 EXTENSIONS = types.SimpleNamespace()
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | runtest_mp.py | 63 ns = types.SimpleNamespace(**ns_dict)
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | sfnt.py | 599 self = SimpleNamespace() 610 self = SimpleNamespace()
|
/external/python/cpython3/Lib/ |
D | types.py | 16 SimpleNamespace = type(sys.implementation) variable
|
/external/python/cpython3/Lib/venv/ |
D | __init__.py | 102 context = types.SimpleNamespace()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0b1.rst | 36 Fixed system error in the comparison of faked types.SimpleNamespace.
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_discovery.py | 826 package.__spec__ = types.SimpleNamespace(
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 666 SimpleNamespace section in PEP 421: Adding sys.implementation 670 Python: :class:`types.SimpleNamespace`. In contrast to a mapping-based 671 namespace, like :class:`dict`, ``SimpleNamespace`` is attribute-based, like 672 :class:`object`. However, unlike ``object``, ``SimpleNamespace`` instances
|
/external/fonttools/ |
D | NEWS.rst | 726 - [py23] Added backport for python 3's ``types.SimpleNamespace`` class.
|
D | PKG-INFO | 1143 - [py23] Added backport for python 3's ``types.SimpleNamespace`` class.
|
/external/fonttools/Lib/fonttools.egg-info/ |
D | PKG-INFO | 1143 - [py23] Added backport for python 3's ``types.SimpleNamespace`` class.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 204 types.SimpleNamespace. 4677 - Issue #16160: Subclass support now works for types.SimpleNamespace. 4711 - Issue #15022: Add pickle and comparison support to types.SimpleNamespace.
|