Skip to content

Commit 80cb86a

Browse files
committed
comment about tuple mut.
1 parent f8ebfc8 commit 80cb86a

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.ipynb_checkpoints/not_so_obvious_python_stuff-checkpoint.ipynb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"metadata": {
33
"name": "",
4-
"signature": "sha256:b6e7356842906c447ef3c7520aac098e7fe4f888e46fdd5ae06905f1ebe68e27"
4+
"signature": "sha256:257a5a05fdf9f21f3a395d8edea0d549d6444deac97319a4c0c0d6478c490ece"
55
},
66
"nbformat": 3,
77
"nbformat_minor": 0,
@@ -837,7 +837,10 @@
837837
"cell_type": "markdown",
838838
"metadata": {},
839839
"source": [
840-
"As we all know, tuples are immutable objects in Python, right!?"
840+
"As we all know, tuples are immutable objects in Python, right!?\n",
841+
"\n",
842+
"**Note:** As a careful reader pointed out, \n",
843+
"\"The tuple is still immutable. You were unable to change it's cardinality, or trick it into pointing to a different contained object.\""
841844
]
842845
},
843846
{

not_so_obvious_python_stuff.ipynb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"metadata": {
33
"name": "",
4-
"signature": "sha256:b6e7356842906c447ef3c7520aac098e7fe4f888e46fdd5ae06905f1ebe68e27"
4+
"signature": "sha256:257a5a05fdf9f21f3a395d8edea0d549d6444deac97319a4c0c0d6478c490ece"
55
},
66
"nbformat": 3,
77
"nbformat_minor": 0,
@@ -837,7 +837,10 @@
837837
"cell_type": "markdown",
838838
"metadata": {},
839839
"source": [
840-
"As we all know, tuples are immutable objects in Python, right!?"
840+
"As we all know, tuples are immutable objects in Python, right!?\n",
841+
"\n",
842+
"**Note:** As a careful reader pointed out, \n",
843+
"\"The tuple is still immutable. You were unable to change it's cardinality, or trick it into pointing to a different contained object.\""
841844
]
842845
},
843846
{

0 commit comments

Comments
 (0)