diff --git a/Lib/venv/scripts/nt/pydoc.py b/Lib/venv/scripts/nt/pydoc.py deleted file mode 100644 index dbf2db71b49..00000000000 --- a/Lib/venv/scripts/nt/pydoc.py +++ /dev/null @@ -1,4 +0,0 @@ -#!__VENV_PYTHON__ -if __name__ == '__main__': - import sys, pydoc - sys.exit(pydoc.cli()) diff --git a/Lib/venv/scripts/posix/pydoc b/Lib/venv/scripts/posix/pydoc deleted file mode 100755 index 92337711289..00000000000 --- a/Lib/venv/scripts/posix/pydoc +++ /dev/null @@ -1,5 +0,0 @@ -#!__VENV_PYTHON__ -if __name__ == '__main__': - import sys, pydoc - sys.exit(pydoc.cli()) - diff --git a/Misc/NEWS b/Misc/NEWS index 884ae94dde0..17d8f601a25 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -38,6 +38,9 @@ Core and Builtins Library ------- +- Issue #18224: Removed pydoc script from created venv, as it causes problems + on Windows and adds no value over and above python -m pydoc ... + - Issue #18155: The csv module now correctly handles csv files that use a delimter character that has a special meaning in regexes, instead of throwing an exception.