mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
Data attributes of objects should not be indexed with trailing parentheses!
This commit is contained in:
parent
396b827a93
commit
41565f66b6
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue