I have a list of functions that do the same tasks in different ways. Let's call them scrapper_german, scrapper_english, scrapper_spanish. I want to make my program know things about this functions, like how effective they are in some tasks. I can use a dictionary.
function_info = { 'scrapper_english': ('English', 'FullyTested'),
...
}
But is there a way to insert those properties, those attributes, into the function? Like a class can have
my_dog.favourite_foods = ('Cow', 'Pork')