diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-05-26 20:41:45 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-05-26 20:41:45 (GMT) |
commit | 9171bed69a05ba1ca0ece4a70725db87ba1e92eb (patch) | |
tree | fca9dde6cb07d4d605c37aeb2913b5faac3c6925 /Doc | |
parent | 4036fd4b752f744d455f592a83b4a1e36cd77a86 (diff) | |
download | cpython-9171bed69a05ba1ca0ece4a70725db87ba1e92eb.zip cpython-9171bed69a05ba1ca0ece4a70725db87ba1e92eb.tar.gz cpython-9171bed69a05ba1ca0ece4a70725db87ba1e92eb.tar.bz2 |
take Brett's advice on a few warnings
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/commands.rst | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/library/commands.rst b/Doc/library/commands.rst index c3f7710..a221fb5 100644 --- a/Doc/library/commands.rst +++ b/Doc/library/commands.rst @@ -16,6 +16,12 @@ The :mod:`subprocess` module provides more powerful facilities for spawning new processes and retrieving their results. Using the :mod:`subprocess` module is preferable to using the :mod:`commands` module. +.. warning:: + + In 3.x, :func:`getstatus` and two undocumented functions (:func:`mk2arg` and + :func:`mkarg`) have been removed. Also, :func:`getstatusoutput` and + :func:`getoutput` have been moved to the :mod:`subprocess` module. + The :mod:`commands` module defines the following functions: @@ -42,12 +48,7 @@ The :mod:`commands` module defines the following functions: .. deprecated:: 2.6 This function is nonobvious and useless, also the name is misleading in the - presence of :func:`getstatusoutput`. It is removed in 3.x. - -.. warning:: - - Two undocumented functions in this module, :func:`mk2arg` and :func:`mkargs` - are removed in 3.x. + presence of :func:`getstatusoutput`. Example:: |