class_docstr: A non-blocking TCP connection factory.
  
  .. versionchanged:: 4.1
     The ``io_loop`` argument is deprecated.
code: def __init__(self, resolver=None, io_loop=None):
      self.io_loop = io_loop or IOLoop.current()
      if resolver is not None:
          self.resolver = resolver
          self._own_resolver = False
      else:
          self.resolver = Resolver(io_loop=io_loop)
          self._own_resolver = True
  
imports: from __future__ import absolute_import, division, print_function
  import functools
  import socket
  from tornado.concurrent import Future
  from tornado.ioloop import IOLoop
  from tornado.iostream import IOStream
  from tornado import gen
  from tornado.netutil import Resolver
  from tornado.platform.auto import set_close_exec
label_desc: Use image node_id 1 to create a new TCPClient object from inherited base classes: object with example: obj = TCPClient(resolver, io_loop)