Skip to content

Commit 0c16814

Browse files
committed
Fix deprecation warning for collections
1 parent 06f3b5b commit 0c16814

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flask_nav/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import collections
1+
import collections.abc
22
from importlib import import_module
33
import re
44

@@ -46,7 +46,7 @@ class NavbarRenderingError(Exception):
4646
pass
4747

4848

49-
class ElementRegistry(collections.MutableMapping):
49+
class ElementRegistry(collections.abc.MutableMapping):
5050
def __init__(self):
5151
self._elems = {}
5252

0 commit comments

Comments
 (0)