O'Reilly logo
  • Chris Kang thinks this is interesting:

(where M is any expression whose value is the module, and identifier name is the attribute name)

From

Cover of Python in a Nutshell, 3rd Edition

Note

You're binding a new attribute into an existing module from another code which imported the module. But, this practice is not recommended.