Path: csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'though:': 0.07; 'runtime': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'assume': 0.11; 'appear.': 0.16; 'comparing': 0.17; 'keys': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'objects': 0.29; "i'm": 0.29; 'received:google.com': 0.34; 'thanks': 0.34; "won't": 0.35; 'there': 0.35; 'subject:with': 0.36; 'does': 0.37; 'two': 0.37; 'subject:: ': 0.38; 'stay': 0.61; 'different.': 0.84 X-Received: by 10.49.75.195 with SMTP id e3mr1016108qew.24.1361240235518; Mon, 18 Feb 2013 18:17:15 -0800 (PST) Newsgroups: comp.lang.python Date: Mon, 18 Feb 2013 18:17:15 -0800 (PST) In-Reply-To: <3752f235-1542-44c8-b7c7-93dfd98eac3f@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=159.208.34.203; posting-account=2oI5NgoAAABmfLtRwk_WMZPnO-jspqQ2 References: <3752f235-1542-44c8-b7c7-93dfd98eac3f@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 159.208.34.203 MIME-Version: 1.0 Subject: Re: Dictionaries with tuples or tuples of tuples From: Jon Reyes To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361240841 news.xs4all.nl 6908 [2001:888:2000:d::a6]:47943 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39171 Thanks Dave and Mitya for enlightening me about dictionaries. I'm still confused about this though: " so that if two key objects are equal, they stay equal, and if they differ, they stay different. " What does this mean? I won't be comparing key objects with one another. Also, when I had two keys with the same value the value of the other key disappeared so I assume in runtime if there are multiple keys of the same value only the last one will appear.