comment upd

This commit is contained in:
rasbt 2014-04-15 14:26:03 -04:00
parent ff938c4ac7
commit 6c95918f3d
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:43a74f5daf674621e35388775c4372dd9587ddf80df1e26c2c8301ae66424581"
"signature": "sha256:ed543f19540359765672e007e235b9a4f6e76963cacf74e34dac5612ea7d8b94"
},
"nbformat": 3,
"nbformat_minor": 0,
@ -191,7 +191,8 @@
"<a name='python_small_int'></a>\n",
"## Python reuses objects for small integers \n",
"\n",
"This oddity occurs, because Python tends to stores small integers as the same object, but not so for larger ones!"
"This oddity occurs, because Python tends to stores small integers as the same object, but not so for larger ones! \n",
"(*I received a comment that this is in fact a CPython artefact and must not necessarily be true in all implementations of Python!*)"
]
},
{

View File

@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:43a74f5daf674621e35388775c4372dd9587ddf80df1e26c2c8301ae66424581"
"signature": "sha256:ed543f19540359765672e007e235b9a4f6e76963cacf74e34dac5612ea7d8b94"
},
"nbformat": 3,
"nbformat_minor": 0,
@ -191,7 +191,8 @@
"<a name='python_small_int'></a>\n",
"## Python reuses objects for small integers \n",
"\n",
"This oddity occurs, because Python tends to stores small integers as the same object, but not so for larger ones!"
"This oddity occurs, because Python tends to stores small integers as the same object, but not so for larger ones! \n",
"(*I received a comment that this is in fact a CPython artefact and must not necessarily be true in all implementations of Python!*)"
]
},
{