Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
16
venv/Lib/site-packages/zmq/backend/cffi/constants.py
Normal file
16
venv/Lib/site-packages/zmq/backend/cffi/constants.py
Normal file
|
@ -0,0 +1,16 @@
|
|||
# coding: utf-8
|
||||
"""zmq constants"""
|
||||
|
||||
from ._cffi import C, c_constant_names
|
||||
from zmq.utils.constant_names import all_names
|
||||
|
||||
g = globals()
|
||||
for cname in c_constant_names:
|
||||
if cname.startswith("ZMQ_"):
|
||||
name = cname[4:]
|
||||
else:
|
||||
name = cname
|
||||
g[name] = getattr(C, cname)
|
||||
|
||||
DRAFT_API = C.PYZMQ_DRAFT_API
|
||||
__all__ = ['DRAFT_API'] + all_names
|
Loading…
Add table
Add a link
Reference in a new issue