diff options
author | Raymond Hettinger <raymond.hettinger@gmail.com> | 2018-02-04 20:15:31 -0800 |
---|---|---|
committer | Nate Prewitt <Nate.Prewitt@gmail.com> | 2018-05-18 07:06:22 -0700 |
commit | cc223f5b6e6b7d04cdc765873dee556f6d87fa6b (patch) | |
tree | b396e587e4bbafde6a49271eeaf1b89dcb855f1d /requests/compat.py | |
parent | fe8290b3d0ca21dd8ae5471a59a8bf13d3dcb31e (diff) | |
download | python-requests-3.7_collections.tar.gz |
Separate collections from collections.abc3.7_collections
Diffstat (limited to 'requests/compat.py')
-rw-r--r-- | requests/compat.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/requests/compat.py b/requests/compat.py index f417cfd8..6b9c6fac 100644 --- a/requests/compat.py +++ b/requests/compat.py @@ -43,6 +43,7 @@ if is_py2: import cookielib from Cookie import Morsel from StringIO import StringIO + from collections import Callable, Mapping, MutableMapping from urllib3.packages.ordered_dict import OrderedDict @@ -60,6 +61,7 @@ elif is_py3: from http.cookies import Morsel from io import StringIO from collections import OrderedDict + from collections.abc import Callable, Mapping, MutableMapping builtin_str = str str = str |