tuple of ids of integers or lists

bartolome.sintes at gmail.com bartolome.sintes at gmail.com
Sun Mar 17 21:23:16 CET 2013

OK. Now I understand it. 

I was confused because when two list are created in two different lines, Python gives them different ids, but when the two lists are created in the same line (in a tuple) Python gives them the same id. It doesn't really matter as these lists are just created and destroyed, as you have said.

Thank you very much for your fast answer.

More information about the Python-list mailing list