Files
typeshed/stdlib/@python2
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-06-24 16:56:09 +03:00
2021-01-27 12:00:39 +00:00
2021-05-17 20:45:48 +02:00
2021-05-17 20:45:48 +02:00