is implemented with id ?
Tim Chase
python.list at tim.thechases.com
Wed Sep 5 12:28:49 EDT 2012
On 09/05/12 08:46, Dave Angel wrote:
> It's id() which is superfluous. But it's useful for debugging,
> and for understanding.
While I assiduously work to eschew shadowing most built-in names
such as "list" or "str", I do make an exception for "id" because
it's *so* useful in code, and the built-in nets me almost nothing
(well, nothing that I generally care about) that "is" doesn't
already provide me.
-tkc
More information about the Python-list
mailing list