mirror of https://github.com/python/cpython
Data attributes of objects should not be indexed with trailing parentheses!
This commit is contained in:
parent
396b827a93
commit
41565f66b6
|
@ -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]{
|
||||
|
|
Loading…
Reference in New Issue