]> granicus.if.org Git - python/commit
bpo-27505: Add change notes in module attribute docs (GH-5320)
authorCheryl Sabella <cheryl.sabella@gmail.com>
Sat, 27 Jan 2018 02:40:52 +0000 (21:40 -0500)
committerNick Coghlan <ncoghlan@gmail.com>
Sat, 27 Jan 2018 02:40:52 +0000 (12:40 +1000)
commit85527cf50a9a4eecaca4022f7c6cb9e0bae1fa5f
treef24b55d669fd84608a1d03f8d12e8eb7a6a157d7
parent37420deb80dcf0fc41a728838b0340b93ca01d90
bpo-27505: Add change notes in module attribute docs (GH-5320)

Make it clear that setting __class__ on a module has worked since 3.5,
but support for __getattr__ and __dir__ on module instances requires 3.7+

Patch by Cheryl Sabella.
Doc/reference/datamodel.rst