summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs/python.sty
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-09 18:01:23 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-09 18:01:23 (GMT)
commit92350b3a1f7446e561305bfaa101efeb08286bcc (patch)
tree604cda32c685f1febd4404739ed8fc85dcae54ab /Doc/texinputs/python.sty
parent8b78b99647f2bfa7b757f060bdcb2a4e0c6f7105 (diff)
downloadcpython-92350b3a1f7446e561305bfaa101efeb08286bcc.zip
cpython-92350b3a1f7446e561305bfaa101efeb08286bcc.tar.gz
cpython-92350b3a1f7446e561305bfaa101efeb08286bcc.tar.bz2
New markup: \note{...} and \warning{...}
Diffstat (limited to 'Doc/texinputs/python.sty')
-rw-r--r--Doc/texinputs/python.sty3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index 9fa56cd..0244466 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -881,6 +881,9 @@
\end{center}
}
+\newcommand{\note}[1]{\strong{Note:} #1}
+\newcommand{\warning}[1]{\strong{Warning:} #1}
+
% Deprecation stuff.
% Should be extended to allow an index / list of deprecated stuff. But
% there's a lot of stuff that needs to be done to make that automatable.