Skip to content

Commit 0eb9555

Browse files
committed
when object are alike
1 parent 9ba6ea4 commit 0eb9555

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

notebooks/WhenObjectsAreAlike.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@
531531
}
532532
],
533533
"source": [
534+
"# True is convereted into 1; duplicate key is overwritten\n",
534535
"{1: \"one\", True: \"true\"}"
535536
]
536537
},
@@ -1082,7 +1083,7 @@
10821083
"## Diamond problem\n",
10831084
"\n",
10841085
"- Diamond inheritance is a problem!\n",
1085-
"- superclass may be called multiple times by base classes because of the organization of the class hierarchy\n",
1086+
"- superclass/base classes may be called multiple times by sub-classes because of the organization of the class hierarchy\n",
10861087
"- or the superclass's initializer may never be called\n",
10871088
"\n",
10881089
"![](resources/ch-2_fig_2.png)"

0 commit comments

Comments
 (0)