summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/texinputs/python.sty4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index bee22d5..c58a55b 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]{