parameters: (self, tab_id)
return_statement: return self.tk.getint(self.tk.call(self._w, "index", tab_id))
docstring: Returns the numeric index of the tab specified by tab_id, or
          the total number of tabs if tab_id is the string "end".
docstring_summary: Returns the numeric index of the tab specified by tab_id, or
          the total number of tabs if tab_id is the string "end".
docstring_tokens: Returns the numeric index of the tab specified by tab_id or the total number of tabs if tab_id is the string end .
function: def index(self, tab_id):
          """Returns the numeric index of the tab specified by tab_id, or
          the total number of tabs if tab_id is the string "end"."""
          return self.tk.getint(self.tk.call(self._w, "index", tab_id))
function_tokens: def index ( self , tab_id ) : return self . tk . getint ( self . tk . call ( self . _w , "index" , tab_id ) )