parameters: (self, extnNameList)
return_statement: return names
docstring: Return extnNameList with keybinding section names removed.
docstring_summary: Return extnNameList with keybinding section names removed.
docstring_tokens: Return extnNameList with keybinding section names removed .
function: def RemoveKeyBindNames(self, extnNameList):
          "Return extnNameList with keybinding section names removed."
          # TODO Easier to return filtered copy with list comp
          names = extnNameList
          kbNameIndicies = []
          for name in names:
              if name.endswith(('_bindings', '_cfgBindings')):
                  kbNameIndicies.append(names.index(name))
          kbNameIndicies.sort(reverse=True)
          for index in kbNameIndicies: #delete each keybinding section name
              del(names[index])
          return names
function_tokens: def RemoveKeyBindNames ( self , extnNameList ) : # TODO Easier to return filtered copy with list comp names = extnNameList kbNameIndicies = [ ] for name in names : if name . endswith ( ( '_bindings' , '_cfgBindings' ) ) : kbNameIndicies . append ( names . index ( name ) ) kbNameIndicies . sort ( reverse = True ) for index in kbNameIndicies : #delete each keybinding section name del ( names [ index ] ) return names