mirror of
https://github.com/python/cpython.git
synced 2025-11-26 21:33:10 +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]{%
|
\newcommand{\memberline}[2][\@classbadkey]{%
|
||||||
\ifx#1\@undefined
|
\ifx#1\@undefined
|
||||||
\memberlineni{#2}
|
\memberlineni{#2}
|
||||||
\withsubitem{(\@thisclass\ attribute)}{\ttindex{#2()}}
|
\withsubitem{(\@thisclass\ attribute)}{\ttindex{#2}}
|
||||||
\else
|
\else
|
||||||
\memberlineni{#2}
|
\memberlineni{#2}
|
||||||
\withsubitem{(#1 attribute)}{\ttindex{#2()}}
|
\withsubitem{(#1 attribute)}{\ttindex{#2}}
|
||||||
\fi
|
\fi
|
||||||
}
|
}
|
||||||
\newenvironment{memberdesc}[2][\@classbadkey]{
|
\newenvironment{memberdesc}[2][\@classbadkey]{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue