Skip to content

Commit d074194

Browse files
tonywojcikstefan
authored andcommitted
Fix a typo (#1813)
an -> a
1 parent 3cb6a5c commit d074194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongoengine/document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ def reload(self, *fields, **kwargs):
715715
except (KeyError, AttributeError):
716716
try:
717717
# If field is a special field, e.g. items is stored as _reserved_items,
718-
# an KeyError is thrown. So try to retrieve the field from _data
718+
# a KeyError is thrown. So try to retrieve the field from _data
719719
setattr(self, field, self._reload(field, obj._data.get(field)))
720720
except KeyError:
721721
# If field is removed from the database while the object

0 commit comments

Comments
 (0)