Skip to content

Commit 22b6857

Browse files
committed
index
1 parent e6c3d89 commit 22b6857

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

nbs/index.ipynb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,8 @@
409409
],
410410
"source": [
411411
"class ProductPage:\n",
412-
" store_attrs = 'author,price,cost'\n",
413412
" def __init__(self,author,price,cost): store_attr()\n",
414-
" __repr__ = basic_repr(store_attrs)\n",
413+
" __repr__ = basic_repr('author,price,cost')\n",
415414
"\n",
416415
"ProductPage(\"Jeremy\", 1.50, 0.50)"
417416
]
@@ -510,7 +509,7 @@
510509
{
511510
"data": {
512511
"text/plain": [
513-
"(#20) [10,7,9,17,18,4,16,15,19,14...]"
512+
"(#20) [17,10,7,18,12,13,5,16,15,19...]"
514513
]
515514
},
516515
"execution_count": null,
@@ -538,7 +537,7 @@
538537
{
539538
"data": {
540539
"text/plain": [
541-
"(#3) [9,18,16]"
540+
"(#3) [7,12,5]"
542541
]
543542
},
544543
"execution_count": null,
@@ -565,7 +564,7 @@
565564
{
566565
"data": {
567566
"text/plain": [
568-
"(#5) [3,4,6,7,8]"
567+
"(#5) [0,3,7,8,9]"
569568
]
570569
},
571570
"execution_count": null,

0 commit comments

Comments
 (0)