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)


Cover of Python in a Nutshell, 3rd Edition


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