summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-07 19:32:40 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-07 19:32:40 (GMT)
commit41565f66b611f899fcc447644bd637610e0f5226 (patch)
tree026e3fc3bf21f74dd74fe0baff82fc8262afb013 /Doc
parent396b827a93a413b6354cac67f3c4097fc8804b81 (diff)
downloadcpython-41565f66b611f899fcc447644bd637610e0f5226.zip
cpython-41565f66b611f899fcc447644bd637610e0f5226.tar.gz
cpython-41565f66b611f899fcc447644bd637610e0f5226.tar.bz2
Data attributes of objects should not be indexed with trailing parentheses!
Diffstat (limited to 'Doc')
-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]{