diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2022-03-28 21:02:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 21:02:57 (GMT) |
commit | 15ba8167d78f9e66bd5b07c4e5cbb0463460310a (patch) | |
tree | a92af838f85ff7917929c1b1b6e7e55566afb219 /Lib/test/pydoc_mod.py | |
parent | 4c116f716bd1c174d6530b9a7a5ed3863927a109 (diff) | |
download | cpython-15ba8167d78f9e66bd5b07c4e5cbb0463460310a.zip cpython-15ba8167d78f9e66bd5b07c4e5cbb0463460310a.tar.gz cpython-15ba8167d78f9e66bd5b07c4e5cbb0463460310a.tar.bz2 |
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.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/pydoc_mod.py b/Lib/test/pydoc_mod.py index f9bc4b8..80c287f 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 |