(match)
| 1365 | return annotation |
| 1366 | if getattr(annotation, '__module__', None) == 'typing': |
| 1367 | def repl(match): |
| 1368 | text = match.group() |
| 1369 | return text.removeprefix('typing.') |
| 1370 | return re.sub(r'[\w\.]+', repl, repr(annotation)) |
| 1371 | if isinstance(annotation, types.GenericAlias): |
| 1372 | return str(annotation) |
nothing calls this directly
no test coverage detected
searching dependent graphs…