From 41565f66b611f899fcc447644bd637610e0f5226 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 7 Apr 1998 19:32:40 +0000 Subject: [PATCH] Data attributes of objects should not be indexed with trailing parentheses! --- Doc/texinputs/python.sty | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index bee22d5bfd8..c58a55b2dff 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]{