Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.10/site-packages/zmq/sugar/__init__.py: 100%

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

14 statements  

1"""pure-Python sugar wrappers for core 0MQ objects.""" 

2 

3# Copyright (C) PyZMQ Developers 

4# Distributed under the terms of the Modified BSD License. 

5 

6from zmq import error 

7from zmq.sugar import context, frame, poll, socket, tracker, version 

8 

9__all__ = [] 

10for submod in (context, error, frame, poll, socket, tracker, version): 

11 __all__.extend(submod.__all__) 

12 

13from zmq.error import * # noqa 

14from zmq.sugar.context import * # noqa 

15from zmq.sugar.frame import * # noqa 

16from zmq.sugar.poll import * # noqa 

17from zmq.sugar.socket import * # noqa 

18 

19# deprecated: 

20from zmq.sugar.stopwatch import Stopwatch # noqa 

21from zmq.sugar.tracker import * # noqa 

22from zmq.sugar.version import * # noqa 

23 

24__all__.append('Stopwatch')