Home
last modified time | relevance | path

Searched refs:KW_ONLY (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/test/
Dtest_dataclasses.py3729 _: KW_ONLY
3741 _: KW_ONLY
3753 _: KW_ONLY
3792 X: KW_ONLY
3793 Y: KW_ONLY
3801 X: KW_ONLY
3803 Y: KW_ONLY
3810 X: KW_ONLY
3813 Y: KW_ONLY
3819 _: KW_ONLY
[all …]
/third_party/python/Doc/library/
Ddataclasses.rst180 :const:`KW_ONLY` section.
453 .. data:: KW_ONLY
456 pseudo-field with the type of :const:`KW_ONLY` are marked as
458 :const:`KW_ONLY` is otherwise completely ignored. This includes the
460 :const:`KW_ONLY` field. Keyword-only fields signify
469 _: KW_ONLY
476 field whose type is :const:`KW_ONLY`.
632 _: KW_ONLY
/third_party/python/Lib/
Ddataclasses.py192 KW_ONLY = _KW_ONLY_TYPE() variable
661 return a_type is dataclasses.KW_ONLY
945 and _is_type(type, cls, dataclasses, dataclasses.KW_ONLY,
/third_party/python/Doc/whatsnew/
D3.10.rst1034 You can also specify that all fields following a KW_ONLY marker are
1039 from dataclasses import dataclass, KW_ONLY
1045 _: KW_ONLY
/third_party/python/Misc/NEWS.d/
D3.10.0b1.rst489 In @dataclass(), raise a TypeError if KW_ONLY is specified more than once.