[docs] Possible bug in Python documentation
markjballard at googlemail.com
Sat Mar 5 18:15:14 CET 2011
I'm having a lot of fun reading your excellent Python documentation.
I have found a discrepancy that may be attributable to my ignorance, but is
possibly an error, in the section of the documentation dealing with Objects,
Values and Types:
The documentation says:
"An object’s identity never changes once it has been created"
While using the interpreter to illustrate the points in the documentation,
it appeared to me that an object's identity does change with its value.
This, for example, is copied from my interpreter and appears to show that
the id of the object a does change when I change its value:
I hope this is of some help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the docs