Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _is_classvar
Function
_is_classvar
Lib/dataclasses.py:751–753 ·
view source on GitHub ↗
(a_type, typing)
Source
from the content-addressed store, hash-verified
749
750
751
def
_is_classvar(a_type, typing):
752
return
(a_type is typing.ClassVar
753
or (typing.get_origin(a_type) is typing.ClassVar))
754
755
756
def
_is_initvar(a_type, dataclasses):
Callers
1
_get_field
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected