docstr: Process any requests that were completed by the last
  call to multi.socket_action.
docstr_tok: ["Process","any","requests","that","were","completed","by","the","last","call","to","multi.socket_action","."]
code: def _finish_pending_requests(self):
      """Process any requests that were completed by the last
      call to multi.socket_action.
      """
      while True:
          num_q, ok_list, err_list = self._multi.info_read()
          for curl in ok_list:
              self._finish(curl)
          for curl, errnum, errmsg in err_list:
              self._finish(curl, errnum, errmsg)
          if num_q == 0:
              break
      self._process_queue()
  
imports: from __future__ import absolute_import, division, print_function
  import collections
  import functools
  import logging
  import pycurl
  import threading
  import time
  from io import BytesIO
  from tornado import httputil
  from tornado import ioloop
  from tornado import stack_context
  from tornado.escape import utf8, native_str
  from tornado.httpclient import HTTPResponse, HTTPError, AsyncHTTPClient, main
label_desc: Use image node_id 9 for calling the CurlAsyncHTTPClient obj's underlying member method code with example usage: obj._finish_pending_requests() without return types