Skip to content

Commit fe6c629

Browse files
author
Rens Dimmendaal
committed
docs: clarify inheritance order in transform example
1 parent e23c524 commit fe6c629

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nbs/01_transform.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -1394,9 +1394,9 @@
13941394
"outputs": [],
13951395
"source": [
13961396
"c = C()\n",
1397-
"test_eq(c(5), 20) # Should use A's int method, not B's\n",
1398-
"test_eq(c('Alex'), 'hello Alex!') # Should use A's str method\n",
1399-
"test_eq(c(10.), 2.5)"
1397+
"test_eq(c('Alex'), 'hello Alex!') # A's str method\n",
1398+
"test_eq(c(5), 20) # B's int method\n",
1399+
"test_eq(c(10.), 2.5) # C's float method"
14001400
]
14011401
},
14021402
{

0 commit comments

Comments
 (0)