Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'strings.': 0.07; 'python': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'dictionaries': 0.16; 'keys.': 0.16; 'mark.': 0.16; 'java': 0.21; 'keys': 0.22; 'cc:2**0': 0.23; "i've": 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; "doesn't": 0.28; "i'm": 0.29; 'could': 0.32; 'received:google.com': 0.34; 'but': 0.36; 'subject:with': 0.36; 'subject:: ': 0.38; 'sure': 0.38; 'where': 0.40; 'wow': 0.84 X-Received: by 10.49.60.40 with SMTP id e8mr979748qer.40.1361237916771; Mon, 18 Feb 2013 17:38:36 -0800 (PST) Newsgroups: comp.lang.python Date: Mon, 18 Feb 2013 17:38:36 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=159.208.34.203; posting-account=2oI5NgoAAABmfLtRwk_WMZPnO-jspqQ2 References: 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 Content-Transfer-Encoding: quoted-printable 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: 6 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361238553 news.xs4all.nl 6840 [2001:888:2000:d::a6]:44297 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:39165 Hi Mark. Well, doesn't iteritems() work the same? or am I missing something= ? By the way I'm sure I read the dictionaries part of Python but I'm unsure= if it would take int's as a key for dictionaries. I've been weaned on Java= where the keys of hashmaps are always Strings.=20 PS: Just checked, wow I could use ints as keys. Awesome!