We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3adcaff commit 40be69dCopy full SHA for 40be69d
embedly/models.py
@@ -1,6 +1,9 @@
1
from __future__ import unicode_literals
2
3
-from UserDict import IterableUserDict
+try:
4
+ from UserDict import IterableUserDict
5
+except ImportError:
6
+ from collections import UserDict as IterableUserDict
7
8
class Url(IterableUserDict, object):
9
"""
0 commit comments