Files
typeshed/stdlib
Jukka Lehtosalo 25649bc1e5 Add getattr overload variants to help mypy type inference (#6355)
These silence errors about missing type annotations for calls
like these:

```
x = getattr(o, 'a', [])
y = getattr(o, 'b', {})
```

This is basically a generalization of #5518 and other overloads we already
have.

This works around python/mypy#11572. I encountered the issue in several
places when testing recent typeshed against an internal repo.
2021-11-22 11:08:40 +00:00
..
2021-11-08 18:23:15 -08:00
2021-05-06 18:57:33 +03:00
2021-08-11 20:49:30 -07:00
2021-11-02 20:23:30 -07:00
2021-04-14 19:14:07 -07:00
2021-09-10 15:27:24 -07:00
2021-09-03 13:02:11 +02:00