Is t a callable that we need to put a ... in for syntax reasons?
(t: CallableType)
| 824 | |
| 825 | |
| 826 | def is_tricky_callable(t: CallableType) -> bool: |
| 827 | """Is t a callable that we need to put a ... in for syntax reasons?""" |
| 828 | return t.is_ellipsis_args or any(k.is_star() or k.is_named() for k in t.arg_kinds) |
| 829 | |
| 830 | |
| 831 | class TypeFormatter(TypeStrVisitor): |
no test coverage detected
searching dependent graphs…