Data attributes of objects should not be indexed with trailing parentheses!
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]{