Searched refs:InitVar (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | dataclass_module_2.py | 7 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
|
D | dataclass_module_2_str.py | 7 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
|
D | dataclass_module_1.py | 13 T_IV2 = dataclasses.InitVar[int] 14 T_IV3 = dataclasses.InitVar 27 T_IV4 = dataclasses.InitVar 28 iv0: dataclasses.InitVar[int] 29 iv1: dataclasses.InitVar
|
D | dataclass_module_1_str.py | 13 T_IV2 = dataclasses.InitVar[int] 14 T_IV3 = dataclasses.InitVar 27 T_IV4 = dataclasses.InitVar 28 iv0: dataclasses.InitVar[int] 29 iv1: dataclasses.InitVar
|
D | test_dataclasses.py | 1060 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/ |
D | dataclasses.py | 206 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/ |
D | 3.7.0b5.rst | 370 and InitVar ("InitVar" and "dataclasses.InitVar").
|
D | 3.7.1rc1.rst | 899 Improve error message of dataclasses.replace() when an InitVar is not
|
/external/python/cpython3/Doc/library/ |
D | dataclasses.rst | 286 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/ |
D | LibASTMatchersTutorial.rst | 505 const VarDecl *InitVar = Result.Nodes.getNodeAs<VarDecl>("initVarName"); 507 if (!areSameVariable(IncVar, CondVar) || !areSameVariable(IncVar, InitVar))
|