pyzmq/tools/backend_imports.py

8 lines
192 B
Python

import zmq.backend
import zmq.sugar
print("from .backend import (")
for name in sorted(set(zmq.backend.__all__).difference(zmq.sugar.__all__)):
print(f" {name} as {name},")
print(")")