Skip to content

Commit

Permalink
Fix Python 3.7 collections.abc DeprecationWarning
Browse files Browse the repository at this point in the history
Should fix this

```
/.../bin/bottle.py:87: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import MutableMapping as DictMixin
```
  • Loading branch information
adamchainz authored and defnull committed Jul 10, 2019
1 parent a454029 commit eff4960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bottle.py
Expand Up @@ -129,7 +129,7 @@ def getargspec(func):
from urllib.parse import urlencode, quote as urlquote, unquote as urlunquote
urlunquote = functools.partial(urlunquote, encoding='latin1')
from http.cookies import SimpleCookie, Morsel, CookieError
from collections import MutableMapping as DictMixin
from collections.abc import MutableMapping as DictMixin
import pickle
from io import BytesIO
import configparser
Expand Down

0 comments on commit eff4960

Please sign in to comment.