mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Removed unused __bytes_cast_encoded() from proxy class in lazy().
Unused since c716fe8782
.
This commit is contained in:
parent
cfe563ffaf
commit
0a132de7eb
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user