Removed obsolete (since Python 2.3) __safe_for_unpickling__ attribute.

This commit is contained in:
Tim Graham 2015-10-05 08:07:27 -04:00
parent 58195f0b16
commit ea8e7fd989
2 changed files with 0 additions and 6 deletions

View file

@ -301,11 +301,6 @@ def deferred_class_factory(model, attrs):
return type(str(name), (model,), overrides)
# The above function is also used to unpickle model instances with deferred
# fields.
deferred_class_factory.__safe_for_unpickling__ = True
def refs_aggregate(lookup_parts, aggregates):
"""
A helper method to check if the lookup_parts contains references