Little fixes found during cnfvar-api-Review
[pyi2ncommon] / src / text_helpers.py
index 45680a8..a258f43 100644 (file)
@@ -49,6 +49,7 @@ end-of-color or end-of-style escape sequences instead of 0 (reset-everything).
 
 .. seealso:: http://stackoverflow.com/questions/287871/print-in-terminal-with-colors-using-python
 .. seealso:: https://en.wikipedia.org/wiki/ANSI_escape_code
+.. seealso:: :py:mod:`textwrap`
 
 
 INTERFACE
@@ -93,7 +94,8 @@ def head_and_tail(iterable, n_head=20, n_tail=20, n_elems=None,
     :yields: `n_head+n_tail` elements from iterable plus the `skip_elem` (or
              less if iterable is shorter than this).
 
-    .. seealso:: :py:func:`slice`, :py:func:`itertools.islice`
+    .. seealso:: :py:func:`slice`, :py:func:`itertools.islice`, :py:func:`textwrap.shorten`
+
     """
     if n_elems is None:
         n_elems = len(iterable)