diff Doc/texinputs/python.sty @ 7898:6a0299ebccef legacy-trunk

Data attributes of objects should not be indexed with trailing parentheses!
author Fred Drake <fdrake@acm.org>
date Tue, 07 Apr 1998 19:32:40 +0000
parents db1e49d51fe1
children 011ae71fea96
line wrap: on
line diff
--- a/Doc/texinputs/python.sty	Tue Apr 07 19:17:27 1998 +0000
+++ b/Doc/texinputs/python.sty	Tue Apr 07 19:32:40 1998 +0000
@@ -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]{