From 332be8c3962f57206680b79f064b1995884a5a2d Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 24 Jan 2009 22:42:30 +0000 Subject: [PATCH] further fixes to sphinx.sty per progress on the sphinx trunk --- doc/build/texinputs/sphinx.sty | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/doc/build/texinputs/sphinx.sty b/doc/build/texinputs/sphinx.sty index 219a400340..e44bf714a5 100644 --- a/doc/build/texinputs/sphinx.sty +++ b/doc/build/texinputs/sphinx.sty @@ -441,13 +441,7 @@ % class method ---------------------------------------------------------- % \begin{classmethoddesc}[classname]{methodname}{args} \newcommand{\classmethodline}[3][\@undefined]{ - \classmethodlineni{#2}{#3} - \ifx\@undefined#1\relax - \index{#2@{\py@idxcode{#2()}} (\py@thisclass\ class method)} - \else - \index{#2@{\py@idxcode{#2()}} (#1 class method)} - \fi -} +\py@sigline{class \bfcode{#2}}{#3}} \newenvironment{classmethoddesc}[3][\@undefined]{ \begin{fulllineitems} \ifx\@undefined#1\relax @@ -458,15 +452,6 @@ \fi }{\end{fulllineitems}} -% similar to {classmethoddesc}, but doesn't add to the index -% (never actually uses the optional argument) -\newcommand{\classmethodlineni}[3][\py@classbadkey]{% - \py@sigline{class \bfcode{#2}}{#3}} -\newenvironment{classmethoddescni}[3][\py@classbadkey]{ - \begin{fulllineitems} - \classmethodlineni{#2}{#3} -}{\end{fulllineitems}} - % object data attribute -------------------------------------------------- % \begin{memberdesc}[classname]{membername} -- 2.47.3