class_docstr: A simple, select()-based IOLoop implementation for non-Linux systems
class_docstr_tok: ["A","simple",",","select","(",")","-based","IOLoop","implementation","for","non-Linux","systems"]
code: def register(self, fd, events):
      if (
          fd in self.read_fds
          or fd in self.write_fds
          or fd in self.error_fds
      ):
          raise IOError("fd %s already registered" % fd)
      if events & IOLoop.READ:
          self.read_fds.add(fd)
      if events & IOLoop.WRITE:
          self.write_fds.add(fd)
      if events & IOLoop.ERROR:
          self.error_fds.add(fd)
  
file_path: catboost/contrib/python/tornado/tornado-4/tornado/platform/select.py
imports: from __future__ import absolute_import, division, print_function
  import select
  from tornado.ioloop import IOLoop, PollIOLoop
label_desc: Use image node_id 3 for calling the _Select obj's underlying member method code with example usage: obj.register(fd, events) without return types