#5841: add deprecation py3k warning and notice in the docs for commands module.
diff --git a/Doc/library/commands.rst b/Doc/library/commands.rst
index 84ef257..a700628 100644
--- a/Doc/library/commands.rst
+++ b/Doc/library/commands.rst
@@ -5,6 +5,12 @@
 .. module:: commands
    :platform: Unix
    :synopsis: Utility functions for running external commands.
+   :deprecated:
+
+.. deprecated:: 2.6
+   The :mod:`commands` module has been removed in Python 3.0.  Use the
+   :mod:`subprocess` module instead.
+
 .. sectionauthor:: Sue Williams <sbw@provis.com>