Tricky : ‘dict’ object is not callable
What you’ve run into is called “shadowing”. You’ve created an object in some namespace (either the global namespace of your module, or the local namespace of a function) that has the same name as a the builtin dict type. This prevents you from accessing the builtin dict in the usual way. You can still get to it, with a bit more … Read more