class_docstr: Create a zmq Context
  
  A zmq Context creates sockets via its ``ctx.socket`` method.
class_docstr_tok: ["Create","a","zmq","Context","A","zmq","Context","creates","sockets","via","its","``","ctx.socket","``","method","."]
code: def __init__(self, io_threads=1, **kwargs):
      super(Context, self).__init__(io_threads=io_threads, **kwargs)
      if kwargs.get("shadow", False):
          self._shadow = True
      else:
          self._shadow = False
      self.sockopts = {}
      self._sockets = WeakSet()
  
imports: import atexit
  import os
  from threading import Lock
  from weakref import WeakSet
  from zmq.backend import Context
  from .None import constants
  from .attrsettr import AttributeSetter
  from .constants import ENOTSUP, LINGER, ctx_opt_names
  from .socket import Socket
  from zmq.error import ZMQError
label_desc: Use image node_id 1 to create a new Context object from inherited base classes: ContextBase, AttributeSetter with example: obj = Context(io_threads)