code: def _next_tab_stop(self):
          
  
          for stop in sorted(self.tabstops):
              if self.x < stop:
                  return stop
          return self.size[1] - 1
docs: Return the x value of the next available tabstop or the x value of the 
          margin if there are no more tabstops.