diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-02-19 03:13:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-02-19 03:23:30 +0300 |
commit | eecb90d8d2ec68f4f3cb8b47ee9828dad5af60d6 (patch) | |
tree | 203ec739076df64f95c1a2f951f5e3846d87fe6e /doc/python_api/sphinx_doc_gen.py | |
parent | 4604350eefabbfeeb97347bc3e6a996750de15aa (diff) |
PyAPI: bpy.utils.execfile temporarily overrides the __main__ module
This is needed to support Python 3.10's `typing.get_type_hints`,
to access the name-space used when creating the class.
Also added a docstring for execfile.
Diffstat (limited to 'doc/python_api/sphinx_doc_gen.py')
0 files changed, 0 insertions, 0 deletions