Mecha Munch Management Task 3: Examples do not match spec

Hi! I’m enjoying the python track, but I stumbled into a bug and figured I should report it.

After this change (PR 3874), the examples in the instructions include “Apple: 1”, which is part of the original recipe for Banana Bread but not the updated recipe. To meet this README spec, we need to individually update each recipe instead of updating the recipes object.

The hints, the spec, and the accepted solution all want the code to do a shallow update of the recipes object, though. For instance, this top solution does not produce “Apple: 1”.

Consider rolling back the change that added “Apple: 1”, or rewriting that readme if it feels ambiguous.

Another tiny thing: Consider updating the docstring for that function to indicate that recipe_updates is an iterable, not a dict.

Hi @bdugan14 :wave:

Welcome to the Exercism forum! Thanks for pointing out the error!

** dict.update** does indeed do an overwrite — so we need to either flip the Apple: 1 entry to the update (as opposed to the ideas dict) or revert the example. I’ll do one of those (and change the docstring) in the next day or so. :smile: