warn about some members of the commands module

This commit is contained in:
Benjamin Peterson 2008-05-26 19:41:53 +00:00
parent b17ad2de08
commit 3aa84a7f28
3 changed files with 20 additions and 1 deletions

View file

@ -42,7 +42,13 @@ 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`.
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.
Example::