diff options
Diffstat (limited to 'django/utils/functional.py')
| -rw-r--r-- | django/utils/functional.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py index a1ab642e2d..05c17d6e64 100644 --- a/django/utils/functional.py +++ b/django/utils/functional.py @@ -82,7 +82,7 @@ def lazy(func, *resultclasses): def __prepare_class__(cls): for resultclass in resultclasses: for type_ in resultclass.mro(): - for method_name in type_.__dict__.keys(): + for method_name in type_.__dict__: # All __promise__ return the same wrapper method, they # look up the correct implementation when called. if hasattr(cls, method_name): |
