Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 41565f6

Browse files
committed
Data attributes of objects should not be indexed with trailing parentheses!
1 parent 396b827 commit 41565f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/texinputs/python.sty

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,10 +424,10 @@
424424
\newcommand{\memberline}[2][\@classbadkey]{%
425425
\ifx#1\@undefined
426426
\memberlineni{#2}
427-
\withsubitem{(\@thisclass\ attribute)}{\ttindex{#2()}}
427+
\withsubitem{(\@thisclass\ attribute)}{\ttindex{#2}}
428428
\else
429429
\memberlineni{#2}
430-
\withsubitem{(#1 attribute)}{\ttindex{#2()}}
430+
\withsubitem{(#1 attribute)}{\ttindex{#2}}
431431
\fi
432432
}
433433
\newenvironment{memberdesc}[2][\@classbadkey]{

0 commit comments

Comments
 (0)