From: Fred Drake Date: Tue, 7 Apr 1998 19:32:40 +0000 (+0000) Subject: Data attributes of objects should not be indexed with trailing parentheses! X-Git-Tag: v1.5.1~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=41565f66b611f899fcc447644bd637610e0f5226;p=thirdparty%2FPython%2Fcpython.git Data attributes of objects should not be indexed with trailing parentheses! --- diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index bee22d5bfd80..c58a55b2dff1 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -424,10 +424,10 @@ \newcommand{\memberline}[2][\@classbadkey]{% \ifx#1\@undefined \memberlineni{#2} - \withsubitem{(\@thisclass\ attribute)}{\ttindex{#2()}} + \withsubitem{(\@thisclass\ attribute)}{\ttindex{#2}} \else \memberlineni{#2} - \withsubitem{(#1 attribute)}{\ttindex{#2()}} + \withsubitem{(#1 attribute)}{\ttindex{#2}} \fi } \newenvironment{memberdesc}[2][\@classbadkey]{