Andriy Kornatskyy  committed 288c6d2

Introduced urlparts

  • Participants
  • Parent commits 8c018b9

Comments (0)

Files changed (1)

File src/wheezy/core/

             if default_factory and \
                 not hasattr(default_factory, '__call__'):
                 raise TypeError('first argument must be callable')
-            dict.__init__(self, *args, **kwargs)
+            super(defaultdict, self).__init__(*args, **kwargs)
             self.default_factory = default_factory
         def __getitem__(self, key):
 except ImportError:  # pragma: nocover
     import time
     parsedate = lambda s: time.strptime(s, "%a, %d %b %Y %H:%M:%S GMT")
+if PY3:  # pragma: nocover
+    from urllib.parse import urlsplit
+    from urllib.parse import urlunsplit
+else:  # pragma: nocover
+    from urlparse import urlsplit
+    from urlparse import urlunsplit