Commits

Michael Merickel committed 62b67b8

added a comment to unicodemultidict

  • Participants
  • Parent commits cc9a256

Comments (0)

Files changed (2)

File tests/test_request.py

                             decode_param_names=True, charset='UTF-8')
         self.assertTrue(req.decode_param_names)
         self.assertTrue(six.u('\u1000') in req.GET.keys())
+        import pdb; pdb.set_trace()
         self.assertEqual(req.GET[six.u('\u1000')], 'x')
 
     def test_copy_body(self):

File webob/multidict.py

             yield self._decode_value(v)
             
     if six.PY3:
+        # slightly less efficient than "keys = iterkeys" but allows subclasses
+        # to only need to define iterkeys, iteritems and itervalues without
+        # worrying about the keys, items and values behavior
         def keys(self):
             return self.iterkeys()