In [1]: l = [1, 2] In [2]: d = {'a':'aaa', 'b':'bbb'} In [4]: t = (l, d) In [5]: t Out[5]: ([1, 2], {'a': 'aaa', 'b': 'bbb'}) In [7]: l.pop() Out[7]: 2 In [8]: t Out[8]: ([1], {'a': 'aaa', 'b': 'bbb'}) In [9]: l.append(3) In [10]: t Out[10]: ([1, 3], {'a': 'aaa', 'b': 'bbb'})