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","."]
docstr: deleting a Context should terminate it, without trying non-threadsafe destroy
docstr_tok: ["deleting","a","Context","should","terminate","it",",","without","trying","non-threadsafe","destroy"]
code: def __del__(self):
      """deleting a Context should terminate it, without trying non-threadsafe destroy"""
  
      # Calling locals() here conceals issue #1167 on Windows CPython 3.5.4.
      locals()
  
      if not self._shadow and not _exiting:
          self.term()
  
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 2 for calling the Context obj's underlying member method code with example usage: obj.__del__() without return types