bpo-26120: make pydoc exclude __future__ imports from the data block of the module (GH-30888)

This commit is contained in:
Irit Katriel 2022-03-28 22:02:57 +01:00 committed by GitHub
parent 4c116f716b
commit 15ba8167d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View file

@ -1,5 +1,7 @@
"""This is a test module for test_pydoc"""
from __future__ import print_function
import types
import typing