summaryrefslogtreecommitdiffstats
path: root/Doc/library/cmd.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/cmd.rst')
-rw-r--r--Doc/library/cmd.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/cmd.rst b/Doc/library/cmd.rst
index d57edb7..fd5df96 100644
--- a/Doc/library/cmd.rst
+++ b/Doc/library/cmd.rst
@@ -121,6 +121,13 @@ A :class:`Cmd` instance has the following methods:
:meth:`complete_\*` method is available. By default, it returns an empty list.
+.. method:: Cmd.columnize(list, displaywidth=80)
+
+ Method called to display a list of strings as a compact set of columns.
+ Each column is only as wide as necessary.
+ Columns are separated by two spaces for readability.
+
+
.. method:: Cmd.precmd(line)
Hook method executed just before the command line *line* is interpreted, but