Skip to content

Commit f970e32

Browse files
Atryionelmc
authored andcommitted
1 parent 0e154df commit f970e32

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/lazy_object_proxy/simple.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import operator
2+
import sys
23

34
from .compat import string_types
45
from .compat import with_metaclass
@@ -258,3 +259,7 @@ def __format__(self, format_spec):
258259
from .utils import __await__
259260

260261
__aiter__, __anext__, __await__, __aenter__, __aexit__ # noqa
262+
263+
if sys.hexversion >= 0x03070000:
264+
def __mro_entries__(self, _):
265+
return (self.__wrapped__,)

0 commit comments

Comments
 (0)