diff options
author | Ran Benita <ran234@gmail.com> | 2019-05-03 12:53:08 +0300 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-03-30 11:42:10 +0200 |
commit | 0a132de7ebe1e2679ff7d7f6b6e1ad920828dd90 (patch) | |
tree | 8a320f20172e0563b9ab79f029c7f508ade8e217 /django | |
parent | cfe563ffaf01d22343717176d96bfca0d05f60fb (diff) | |
download | django-0a132de7ebe1e2679ff7d7f6b6e1ad920828dd90.tar.gz |
Removed unused __bytes_cast_encoded() from proxy class in lazy().
Unused since c716fe87821df00f9f03ecc761c914d1682591a2.
Diffstat (limited to 'django')
-rw-r--r-- | django/utils/functional.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py index 9b059ee704..236d2ca6e3 100644 --- a/django/utils/functional.py +++ b/django/utils/functional.py @@ -147,9 +147,6 @@ def lazy(func, *resultclasses): def __bytes_cast(self): return bytes(func(*self.__args, **self.__kw)) - def __bytes_cast_encoded(self): - return func(*self.__args, **self.__kw).encode() - def __cast(self): if self._delegate_bytes: return self.__bytes_cast() |