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

Function _make_nmtuple

Lib/typing.py:2983–2987  ·  view source on GitHub ↗
(name, fields, annotate_func, module, defaults = ())

Source from the content-addressed store, hash-verified

2981
2982
2983def _make_nmtuple(name, fields, annotate_func, module, defaults = ()):
2984 nm_tpl = collections.namedtuple(name, fields,
2985 defaults=defaults, module=module)
2986 nm_tpl.__annotate__ = nm_tpl.__new__.__annotate__ = annotate_func
2987 return nm_tpl
2988
2989
2990def _make_eager_annotate(types):

Callers 2

__new__Method · 0.85
NamedTupleFunction · 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…