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]{