Files
typeshed/third_party/2and3
Jukka Lehtosalo 07374a8251 Fix requests.post signature (#2256)
The change introduced in 395ab5abd1
broke the signature of `requests.post`, among others, since
`MutableSequence` is invariant, and plain `Dict[str, str]` values
were no longer valid for the `data` argument.

This changes the signature to have `Any` components as a
compromise. Adding more items to the union seems a bit too much, since
the error messages for invalid argument types are already pretty hard to
read.

Another option might be to use `Mapping` instead of `MutableMapping`
due to covariance, but I assume there's a reason why `MutableMapping`
is used here.
2018-06-19 17:08:55 +01:00
..
2016-01-16 16:56:25 -05:00
2018-05-31 21:40:57 -07:00
2018-02-16 17:23:17 -08:00
2018-06-11 11:27:34 -07:00
2016-01-16 16:56:25 -05:00
2018-06-11 19:50:56 -07:00
2018-03-20 15:32:50 -07:00
2017-05-30 23:20:40 -07:00