MCPcopy Index your code
hub / github.com/python/cpython / _is_kw_only

Function _is_kw_only

Lib/dataclasses.py:762–763  ·  view source on GitHub ↗
(a_type, dataclasses)

Source from the content-addressed store, hash-verified

760 or type(a_type) is dataclasses.InitVar)
761
762def _is_kw_only(a_type, dataclasses):
763 return a_type is dataclasses.KW_ONLY
764
765
766def _is_type(annotation, cls, a_module, a_type, is_type_predicate):

Callers 1

_process_classFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…