Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _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
762
def
_is_kw_only(a_type, dataclasses):
763
return
a_type is dataclasses.KW_ONLY
764
765
766
def
_is_type(annotation, cls, a_module, a_type, is_type_predicate):
Callers
1
_process_class
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected