Skip to content

Commit 6c95918

Browse files
committed
comment upd
1 parent ff938c4 commit 6c95918

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.ipynb_checkpoints/not_so_obvious_python_stuff-checkpoint.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"metadata": {
33
"name": "",
4-
"signature": "sha256:43a74f5daf674621e35388775c4372dd9587ddf80df1e26c2c8301ae66424581"
4+
"signature": "sha256:ed543f19540359765672e007e235b9a4f6e76963cacf74e34dac5612ea7d8b94"
55
},
66
"nbformat": 3,
77
"nbformat_minor": 0,
@@ -191,7 +191,8 @@
191191
"<a name='python_small_int'></a>\n",
192192
"## Python reuses objects for small integers \n",
193193
"\n",
194-
"This oddity occurs, because Python tends to stores small integers as the same object, but not so for larger ones!"
194+
"This oddity occurs, because Python tends to stores small integers as the same object, but not so for larger ones! \n",
195+
"(*I received a comment that this is in fact a CPython artefact and must not necessarily be true in all implementations of Python!*)"
195196
]
196197
},
197198
{

not_so_obvious_python_stuff.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"metadata": {
33
"name": "",
4-
"signature": "sha256:43a74f5daf674621e35388775c4372dd9587ddf80df1e26c2c8301ae66424581"
4+
"signature": "sha256:ed543f19540359765672e007e235b9a4f6e76963cacf74e34dac5612ea7d8b94"
55
},
66
"nbformat": 3,
77
"nbformat_minor": 0,
@@ -191,7 +191,8 @@
191191
"<a name='python_small_int'></a>\n",
192192
"## Python reuses objects for small integers \n",
193193
"\n",
194-
"This oddity occurs, because Python tends to stores small integers as the same object, but not so for larger ones!"
194+
"This oddity occurs, because Python tends to stores small integers as the same object, but not so for larger ones! \n",
195+
"(*I received a comment that this is in fact a CPython artefact and must not necessarily be true in all implementations of Python!*)"
195196
]
196197
},
197198
{

0 commit comments

Comments
 (0)