消息 [303366]
An option for deferred imports would be to leave a comment at the top where the import would otherwise be. Example:
# import types, weakref # Deferred to single_dispatch()
This accomplishes the PEP8 purpose of making all dependencies of the module visible at the top. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2017-09-29 22:40:18 | terry.reedy | 修改 | recipients:
+ terry.reedy, rhettinger, methane, serhiy.storchaka |
| 2017-09-29 22:40:18 | terry.reedy | 修改 | messageid: <1506724818.28.0.213398074469.issue31581@psf.upfronthosting.co.za> |
| 2017-09-29 22:40:18 | terry.reedy | 链接 | issue31581 messages |
| 2017-09-29 22:40:18 | terry.reedy | 创建 | |
|