[docs] [issue26120] pydoc: move __future__ imports out of the DATA block

Antony Lee report at bugs.python.org
Fri Jan 15 01:31:40 EST 2016

New submission from Antony Lee:

Currently, for a module that uses __future__ imports, the DATA section of `pydoc foo` contains these imports interspersed with the "real" data from the module.

Even though it is fully-featured _Feature objects that are imported, it probably makes sense to move them out of this section.

assignee: docs at python
components: Documentation
messages: 258272
nosy: Antony.Lee, docs at python
priority: normal
severity: normal
status: open
title: pydoc: move __future__ imports out of the DATA block
versions: Python 3.5, Python 3.6

Python tracker <report at bugs.python.org>

More information about the docs mailing list