Message156780
| Author | vstinner |
|---|---|
| Recipients | Jim.Jewett, eric.snow, gvanrossum, vstinner |
| Date | 2012-03-25.23:07:25 |
| SpamBayes Score | 0.0016270829 |
| Marked as misclassified | No |
| Message-id | <1332716845.96.0.4986003644.issue14386@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> A sequence *does* meet the (immutable) Mapping interface Ah? Let's try: >>> x=[1, 2, 3] >>> x.get(2) AttributeError: 'list' object has no attribute 'get' >>> x.keys() AttributeError: 'list' object has no attribute 'keys' list doesn't implement the collections.abc.Mapping ABC. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-03-25 23:07:26 | vstinner | set | recipients: + vstinner, gvanrossum, eric.snow, Jim.Jewett |
| 2012-03-25 23:07:25 | vstinner | set | messageid: <1332716845.96.0.4986003644.issue14386@psf.upfronthosting.co.za> |
| 2012-03-25 23:07:25 | vstinner | link | issue14386 messages |
| 2012-03-25 23:07:25 | vstinner | create | |