Mercurial > cpython-lru_cache-weakref
diff Doc/texinputs/python.sty @ 21116:0a67463f8b7d legacy-trunk
Add a new environment in the Python docs markup: seealso*. This is similar
to seealso, but does not add the "See also:" header or put the content in a
box in the HTML version.
Updated the description of \seeurl to better indicate when it should be used;
the old description was written before we had \seetitle.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 30 Nov 2001 18:09:54 +0000 |
| parents | eacf81df6c42 |
| children | f59c6b5dd122 |
line wrap: on
line diff
--- a/Doc/texinputs/python.sty Fri Nov 30 16:58:15 2001 +0000 +++ b/Doc/texinputs/python.sty Fri Nov 30 18:09:54 2001 +0000 @@ -1096,9 +1096,9 @@ #2 \end{fulllineitems} } -\newenvironment{seealso}[0]{ + +\newenvironment{seealso*}{ \par - \strong{See Also:}\par \def\seetext##1{\par{##1}} \let\seemodule=\py@seemodule \let\seepep=\py@seepep @@ -1106,7 +1106,17 @@ \let\seetitle=\py@seetitle \let\seeurl=\py@seeurl }{\par} - +\newenvironment{seealso}{ + \par + \strong{See Also:} + \par + \def\seetext##1{\par{##1}} + \let\seemodule=\py@seemodule + \let\seepep=\py@seepep + \let\seerfc=\py@seerfc + \let\seetitle=\py@seetitle + \let\seeurl=\py@seeurl +}{\par} % Allow the Python release number to be specified independently of the % \date{}. This allows the date to reflect the document's date and
