From: Fred Drake Date: Sat, 23 Jun 2001 03:11:45 +0000 (+0000) Subject: \infinity, X-Git-Tag: v2.2a3~1466 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5445e5e3051000121a967da914f2b2150776656b;p=thirdparty%2FPython%2Fcpython.git \infinity, \plusminus: New macros to allow us to avoid math mode for these symbols. --- diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index e4c60b834b14..c5d55a8c7f3e 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -752,6 +752,8 @@ \newcommand{\C}{C} \newcommand{\EOF}{{\sc eof}} \newcommand{\NULL}{\constant{NULL}} +\newcommand{\infinity}{\ensuremath{\infty}} +\newcommand{\plusminus}{\ensuremath{\pm}} % Also for consistency: spell Python "Python", not "python"!