original_docstring:  When the last gearbox creates its first bundle, add a gearbox 
docstring: When the last gearbox creates its first bundle, add a gearbox
docstring_tokens: When the last gearbox creates its first bundle add a gearbox
code: def add_gearbox(self):
          """ When the last gearbox creates its first bundle, add a gearbox """
          next_gearbox_name = ''.join(('gearbox_', str(self.num_gearboxes)))
          self.gearboxes.append(gearbox.Gearbox(self.cables_per_gearbox,
                                   name=next_gearbox_name, 
                                   level=self.num_gearboxes))
          print "Added gearbox", self.num_gearboxes
          self.num_gearboxes +=  1
          self.gearbox_added = True
code_tokens: def add_gearbox ( self ) : next_gearbox_name = '' . join ( ( 'gearbox_' , str ( self . num_gearboxes ) ) ) self . gearboxes . append ( gearbox . Gearbox ( self . cables_per_gearbox , name = next_gearbox_name , level = self . num_gearboxes ) ) print "Added gearbox" , self . num_gearboxes self . num_gearboxes += 1 self . gearbox_added = True
short_docstring: When the last gearbox creates its first bundle, add a gearbox
short_docstring_tokens: When the last gearbox creates its first bundle add a gearbox
comment: """ When the last gearbox creates its first bundle, add a gearbox """