Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3906
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.glorb.com!news-out.octanews.net!indigo.octanews.net!auth.beige.octanews.com.POSTED!not-for-mail |
|---|---|
| From | Paul Rubin <no.email@nospam.invalid> |
| Newsgroups | comp.lang.python |
| Subject | Re: suggestions, comments on an "is_subdict" test |
| Organization | Nightsong/Fort GNOX |
| References | <mailman.747.1303480525.9059.python-list@python.org> <4db19756$0$81473$e4fe514c@news.xs4all.nl> |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
| Date | Sat, 23 Apr 2011 00:26:45 -0700 |
| Message-ID | <7xd3kdig22.fsf@ruckus.brouhaha.com> (permalink) |
| Cancel-Lock | sha1:UQIalbPU5HvcWWFtwjYadMJ/GNM= |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Lines | 7 |
| NNTP-Posting-Date | 23 Apr 2011 02:26:45 CDT |
| X-Complaints-To | abuse@octanews.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:3906 |
Show key headers only | View raw
Irmen de Jong <irmen.NOSPAM@xs4all.nl> writes: > I would use: > test_dct.items() <= base_dct.items() I think you need an explicit cast: set(test_dct.items()) <= set(base_dct.items())
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar
suggestions, comments on an "is_subdict" test Vlastimil Brom <vlastimil.brom@gmail.com> - 2011-04-22 15:55 +0200
Re: suggestions, comments on an "is_subdict" test Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2011-04-22 16:57 +0200
Re: suggestions, comments on an "is_subdict" test MRAB <python@mrabarnett.plus.com> - 2011-04-22 16:18 +0100
Re: suggestions, comments on an "is_subdict" test Raymond Hettinger <python@rcn.com> - 2011-04-23 00:23 -0700
Re: suggestions, comments on an "is_subdict" test Paul Rubin <no.email@nospam.invalid> - 2011-04-23 00:26 -0700
csiph-web