summaryrefslogtreecommitdiff
path: root/django/utils/functional.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/functional.py')
-rw-r--r--django/utils/functional.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py
index 35f48c6251..361b0f14fb 100644
--- a/django/utils/functional.py
+++ b/django/utils/functional.py
@@ -367,7 +367,7 @@ class SimpleLazyObject(LazyObject):
def __deepcopy__(self, memo):
if self._wrapped is empty:
- # We have to use type(self), not self.__class__, because the
+ # We have to use SimpleLazyObject, not self.__class__, because the
# latter is proxied.
result = SimpleLazyObject(self._setupfunc)
memo[id(self)] = result