We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a7ec757 + a1ab930 commit dae62fdCopy full SHA for dae62fd
1 file changed
nameparser/config/__init__.py
@@ -31,6 +31,11 @@
31
from __future__ import unicode_literals
32
from collections.abc import Set
33
import sys
34
+try:
35
+ # Python 3.3+
36
+ from collections.abc import Set
37
+except ImportError:
38
+ from collections import Set
39
40
from nameparser.util import binary_type
41
from nameparser.util import lc
@@ -48,7 +53,7 @@
48
53
class SetManager(Set):
49
54
'''
50
55
Easily add and remove config variables per module or instance. Subclass of
51
- ``collections.Set``.
56
+ ``collections.abc.Set``.
52
57
58
Only special functionality beyond that provided by set() is
59
to normalize constants for comparison (lower case, no periods)
0 commit comments