diff --git a/six.py b/six.py index 529332582..19a75b061 100644 --- a/six.py +++ b/six.py @@ -135,6 +135,9 @@ def __dir__(self): # Subclasses should override this _moved_attributes = [] + def __reduce__(self): + return _import_module, (self.__name__,) + class MovedAttribute(_LazyDescr):