class_docstr: DEPRECATED: No longer needed as of pyzmq-17
  
  PyZMQ tornado integration now works with the default :mod:`tornado.ioloop.IOLoop`.
class_docstr_tok: ["DEPRECATED",":","No","longer","needed","as","of","pyzmq-17","PyZMQ","tornado","integration","now","works","with","the","default",":","mod",":","`","tornado.ioloop.IOLoop","`","."]
docstr: Returns a global `IOLoop` instance.
  
  Most applications have a single, global `IOLoop` running on the
  main thread.  Use this method to get this instance from
  another thread.  To get the current thread's `IOLoop`, use `current()`.
docstr_tok: ["Returns","a","global","`","IOLoop","`","instance",".","Most","applications","have","a","single",",","global","`","IOLoop","`","running","on","the","main","thread",".","Use","this","method","to","get","this","instance","from","another","thread",".","To","get","the","current","thread","'s","`","IOLoop","`",",","use","`","current","(",")","`","."]
code: def instance(cls, *args, **kwargs):
      """Returns a global `IOLoop` instance.
  
      Most applications have a single, global `IOLoop` running on the
      main thread.  Use this method to get this instance from
      another thread.  To get the current thread's `IOLoop`, use `current()`.
      """
      # install ZMQIOLoop as the active IOLoop implementation
      # when using tornado 3
      ioloop.IOLoop.configure(cls)
      _deprecated()
      loop = ioloop.IOLoop.instance(*args, **kwargs)
      return loop
  
file_path: catboost/contrib/python/pyzmq/py2/zmq/eventloop/ioloop.py
imports: from __future__ import absolute_import, division, with_statement
  import time
  import warnings
label_desc: Use image node_id 2 for calling the ZMQIOLoop obj's underlying member method code with example usage: obj.instance(cls) and returns: loop