Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/lazy_object_proxy/__init__.py: 76%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

17 statements  

1try: 

2 import copy_reg as copyreg 

3except ImportError: 

4 import copyreg 

5 

6from .utils import identity 

7 

8copyreg.constructor(identity) 

9 

10try: 

11 from .cext import Proxy 

12 from .cext import identity 

13except ImportError: 

14 from .simple import Proxy 

15else: 

16 copyreg.constructor(identity) 

17 

18try: 

19 from ._version import version as __version__ 

20except ImportError: 

21 __version__ = '1.10.0' 

22 

23__all__ = ('Proxy',)