summaryrefslogtreecommitdiff
path: root/Lib/test/pydoc_mod.py
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-03-28 22:02:57 +0100
committerGitHub <noreply@github.com>2022-03-28 22:02:57 +0100
commit15ba8167d78f9e66bd5b07c4e5cbb0463460310a (patch)
treea92af838f85ff7917929c1b1b6e7e55566afb219 /Lib/test/pydoc_mod.py
parent4c116f716bd1c174d6530b9a7a5ed3863927a109 (diff)
downloadcpython-git-15ba8167d78f9e66bd5b07c4e5cbb0463460310a.tar.gz
bpo-26120: make pydoc exclude __future__ imports from the data block of the module (GH-30888)
Diffstat (limited to 'Lib/test/pydoc_mod.py')
-rw-r--r--Lib/test/pydoc_mod.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/pydoc_mod.py b/Lib/test/pydoc_mod.py
index f9bc4b89d3..80c287fb10 100644
--- a/Lib/test/pydoc_mod.py
+++ b/Lib/test/pydoc_mod.py
@@ -1,5 +1,7 @@
"""This is a test module for test_pydoc"""
+from __future__ import print_function
+
import types
import typing