1. Matt Chaput
  2. whoosh


Matt Chaput  committed d4cb94a

Shouldn't have removed the iter() in Schema.__iter__, since it broke Python 3.

  • Participants
  • Parent commits ea80b0c
  • Branches default

Comments (0)

Files changed (1)

File src/whoosh/fields.py

View file
         """Returns the field objects in this schema.
-        return itervalues(self._fields)
+        return iter(self._fields.values())
     def __getitem__(self, name):
         """Returns the field associated with the given field name.