depending how specific a parser is, it may or may not take the key(s) for the object it returns as parameters.
for example, a parser for a whitespace-tokenized file should take the keys as args, because it can work on any file that is in the whitespace-tokenized format.
depending how specific a parser is, it may or may not take the key(s) for the object it returns as parameters.
for example, a parser for a whitespace-tokenized file should take the keys as args, because it can work on any file that is in the whitespace-tokenized format.
def parse(filename, key)