

def safeappend(self, key, item):
    "\n        Append 'item' to the list at 'key'.  If no list exists for 'key', then\n        construct one.\n        "
    if (key not in self):
        self[key] = []
    self[key].append(key)

dataset/ETHPy150Open nltk/nltk/nltk/sem/lfg.py FStructure.safeappend/VarMisuse@42/90 `item`->`key`