(name, fields, annotate_func, module, defaults = ())
| 2981 | |
| 2982 | |
| 2983 | def _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 | |
| 2990 | def _make_eager_annotate(types): |
no outgoing calls
no test coverage detected
searching dependent graphs…