code: def __init__(self):
      self._fds = []
  
      self._select_selector = SelectSelector()
      self._selectors = [self._select_selector]
  
      # When 'select.poll' exists, create a PollSelector.
      if hasattr(select, "poll"):
          self._poll_selector = PollSelector()
          self._selectors.append(self._poll_selector)
      else:
          self._poll_selector = None
  
      # Use of the 'select' module, that was introduced in Python3.4. We don't
      # use it before 3.5 however, because this is the point where this module
      # retries interrupted system calls.
      if sys.version_info >= (3, 5):
          self._py3_selector = Python3Selector()
          self._selectors.append(self._py3_selector)
      else:
          self._py3_selector = None
  
imports: from __future__ import unicode_literals, absolute_import
  import sys
  import abc
  import errno
  import select
  import six
label_desc: Use image node_id 1 to create a new AutoSelector object from inherited base classes: Selector with example: obj = AutoSelector()