MCPcopy Index your code
hub / github.com/python/cpython / _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
751def _is_classvar(a_type, typing):
752 return (a_type is typing.ClassVar
753 or (typing.get_origin(a_type) is typing.ClassVar))
754
755
756def _is_initvar(a_type, dataclasses):

Callers 1

_get_fieldFunction · 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…