Skip to content

Commit 5807343

Browse files
committed
fixed typo
1 parent 8d6f119 commit 5807343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/main/classes/dunder/dunder.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,7 @@
15001500
.3 \dunder{reversed}\DTcomment{iterate backwards; \pythonil{reverse(a)}~$\cong$~\pythonil{a.\_\_reversed\_\_()}}.
15011501
.3 \dunder{next}\DTcomment{get next element from iterator; \pythonil{next(i)}~$\cong$~\pythonil{i.\_\_next\_\_()}}.
15021502
.2 Classes.
1503-
.3 \dunder{new}\DTcomment{create a new instance of a class: \pythonil{cls(a, b=c)}~$\cong$~\pythonil{T.\_\_new\_\_(cls, a, b=c)}, is then followed by~\pythonil{cls.\_\_init\_\_(a, b=c)}}.
1503+
.3 \dunder{new}\DTcomment{create a new instance of a class: \pythonil{cls(a, b=c)}~$\cong$~\pythonil{cls.\_\_new\_\_(cls, a, b=c)}, is then followed by~\pythonil{cls.\_\_init\_\_(a, b=c)}}.
15041504
.3 \dunder{init}\DTcomment{initialize an object: \pythonil{cls(a, b=c)}~$\cong$~\pythonil{cls.\_\_init\_\_(a, b=c)}}.
15051505
.3 \dunder{call}\DTcomment{call an object like a function: \pythonil{a(b, c=d)}~$\cong$~\pythonil{a.\_\_call\_\_(b, c=d)}}.
15061506
}%

0 commit comments

Comments
 (0)