Home
last modified time | relevance | path

Searched refs:InitVar (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Lib/test/
Ddataclass_module_2.py7 from dataclasses import dataclass, InitVar
13 T_IV2 = InitVar[int]
14 T_IV3 = InitVar
27 T_IV4 = InitVar
28 iv0: InitVar[int]
29 iv1: InitVar
Ddataclass_module_2_str.py7 from dataclasses import dataclass, InitVar
13 T_IV2 = InitVar[int]
14 T_IV3 = InitVar
27 T_IV4 = InitVar
28 iv0: InitVar[int]
29 iv1: InitVar
Ddataclass_module_1.py13 T_IV2 = dataclasses.InitVar[int]
14 T_IV3 = dataclasses.InitVar
27 T_IV4 = dataclasses.InitVar
28 iv0: dataclasses.InitVar[int]
29 iv1: dataclasses.InitVar
Ddataclass_module_1_str.py13 T_IV2 = dataclasses.InitVar[int]
14 T_IV3 = dataclasses.InitVar
27 T_IV4 = dataclasses.InitVar
28 iv0: dataclasses.InitVar[int]
29 iv1: dataclasses.InitVar
Dtest_dataclasses.py1060 x: InitVar[int]
1071 x: InitVar[int] = field(default_factory=int)
1079 x: InitVar[int] = 10
1084 x: InitVar[int] = field(default=10)
1091 init_param: InitVar[int] = None
1107 init_base: InitVar[int]
1117 init_derived: InitVar[int]
2953 ('y', InitVar[int]),
3170 y: InitVar[int]
/external/python/cpython3/Lib/
Ddataclasses.py206 class InitVar(metaclass=_InitVarMeta): class
589 return a_type is dataclasses.InitVar
706 and _is_type(f.type, cls, dataclasses, dataclasses.InitVar,
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b5.rst370 and InitVar ("InitVar" and "dataclasses.InitVar").
D3.7.1rc1.rst899 Improve error message of dataclasses.replace() when an InitVar is not
/external/python/cpython3/Doc/library/
Ddataclasses.rst286 Does not return pseudo-fields which are ``ClassVar`` or ``InitVar``.
406 However, if any ``InitVar`` fields are defined, they will also be
443 if the type of a field is of type ``dataclasses.InitVar``. If a field
444 is an ``InitVar``, it is considered a pseudo-field called an init-only
458 database: InitVar[DatabaseType] = None
/external/clang/docs/
DLibASTMatchersTutorial.rst505 const VarDecl *InitVar = Result.Nodes.getNodeAs<VarDecl>("initVarName");
507 if (!areSameVariable(IncVar, CondVar) || !areSameVariable(IncVar, InitVar))