diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-06-24 09:35:40 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-06-24 09:35:40 (GMT) |
commit | 6aed5fe532d598f0f18c840f1c8c0c5a4858b1ff (patch) | |
tree | d7fc8b5e657821f2f2b946d8145de3ca0536e163 /Lib/venv | |
parent | 97f43c019f3bb8376a3a5f7bc52e97b4c2ed8e16 (diff) | |
download | cpython-6aed5fe532d598f0f18c840f1c8c0c5a4858b1ff.zip cpython-6aed5fe532d598f0f18c840f1c8c0c5a4858b1ff.tar.gz cpython-6aed5fe532d598f0f18c840f1c8c0c5a4858b1ff.tar.bz2 |
Closes #15157: pydoc script added to venvs.
Diffstat (limited to 'Lib/venv')
-rw-r--r-- | Lib/venv/scripts/nt/pydoc.py | 4 | ||||
-rwxr-xr-x | Lib/venv/scripts/posix/pydoc | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Lib/venv/scripts/nt/pydoc.py b/Lib/venv/scripts/nt/pydoc.py new file mode 100644 index 0000000..dbf2db7 --- /dev/null +++ b/Lib/venv/scripts/nt/pydoc.py @@ -0,0 +1,4 @@ +#!__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 new file mode 100755 index 0000000..9233771 --- /dev/null +++ b/Lib/venv/scripts/posix/pydoc @@ -0,0 +1,5 @@ +#!__VENV_PYTHON__ +if __name__ == '__main__': + import sys, pydoc + sys.exit(pydoc.cli()) + |