]> granicus.if.org Git - python/commitdiff
Data attributes of objects should not be indexed with trailing parentheses!
authorFred Drake <fdrake@acm.org>
Tue, 7 Apr 1998 19:32:40 +0000 (19:32 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 7 Apr 1998 19:32:40 +0000 (19:32 +0000)
Doc/texinputs/python.sty

index bee22d5bfd80919979a3a83b1b3197f9bd9ea60c..c58a55b2dff17566394350085e11626ed5736dd0 100644 (file)
 \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]{