Return the __dict__ attribute for a module, class, instance, or any other object with a __dict__ attribute.
vars([object])