blob: 02a06a9c99d91803d95a2421508637c5c14de00d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff --git a/flask_nav/__init__.py b/flask_nav/__init__.py
index 7c25dfa..5826b9e 100644
--- a/flask_nav/__init__.py
+++ b/flask_nav/__init__.py
@@ -1,4 +1,4 @@
-import collections
+import collections.abc
from importlib import import_module
import re
@@ -46,7 +46,7 @@ class NavbarRenderingError(Exception):
pass
-class ElementRegistry(collections.MutableMapping):
+class ElementRegistry(collections.abc.MutableMapping):
def __init__(self):
self._elems = {}
|