summaryrefslogtreecommitdiff
path: root/Doc/library/cmd.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-10 03:26:08 +0000
committerRaymond Hettinger <python@rcn.com>2011-01-10 03:26:08 +0000
commit10480940373492652bc285fca3fa74751c271645 (patch)
treebb1bfed3416120cc371eb884960cf73aad9a957e /Doc/library/cmd.rst
parenta4815caa7ccf21aa994d0e0eec66873072f0e352 (diff)
downloadcpython-git-10480940373492652bc285fca3fa74751c271645.tar.gz
Move source links to consistent location and remove wordy, big yellow boxes.
Diffstat (limited to 'Doc/library/cmd.rst')
-rw-r--r--Doc/library/cmd.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/Doc/library/cmd.rst b/Doc/library/cmd.rst
index 53d62c5c94..a0ae42510d 100644
--- a/Doc/library/cmd.rst
+++ b/Doc/library/cmd.rst
@@ -5,16 +5,13 @@
:synopsis: Build line-oriented command interpreters.
.. sectionauthor:: Eric S. Raymond <esr@snark.thyrsus.com>
+**Source code:** :source:`Lib/cmd.py`
The :class:`Cmd` class provides a simple framework for writing line-oriented
command interpreters. These are often useful for test harnesses, administrative
tools, and prototypes that will later be wrapped in a more sophisticated
interface.
-.. seealso::
-
- Latest version of the :source:`cmd module Python source code <Lib/cmd.py>`
-
.. class:: Cmd(completekey='tab', stdin=None, stdout=None)
A :class:`Cmd` instance or subclass instance is a line-oriented interpreter