tt = a, b = t

rihad rihad at mail.ru
Sun Jan 13 19:46:35 CET 2002


Playing with Python goes on....

tup = 1, 2
tuptup = a, None = tup

>>> tup
(1, 2)
>>> a
1
>>> tuptup
(1, 2)

How did 2 manage to propagate to tuptup through None?




More information about the Python-list mailing list