parameters: (self)
return_statement: return undo
docstring: Find all symbols which need to have their old bindings removed
docstring_summary: Find all symbols which need to have their old bindings removed
docstring_tokens: Find all symbols which need to have their old bindings removed
function: def __find_commit_set(self):
          "Find all symbols which need to have their old bindings removed"
          undo = []
          # When we undo side-effects from a choice symbol, all the side-effects
          # from setting its siblings have to be backed out too.
          for primary in self.newbindings.keys():
              if primary.menu.type == "choices":
                  undo.extend(primary.menu.items)
              else:
                  undo.append(primary)
          return undo
function_tokens: def __find_commit_set ( self ) : undo = [ ] # When we undo side-effects from a choice symbol, all the side-effects # from setting its siblings have to be backed out too. for primary in self . newbindings . keys ( ) : if primary . menu . type == "choices" : undo . extend ( primary . menu . items ) else : undo . append ( primary ) return undo