code: def get_next_item(iterable):
      
      try: x = iterable.next()
      except StopIteration: x = None
      except AttributeError: x = None
      return x
docs: Gets the next item of an iterable.
      If the iterable is exhausted, returns None.