Re: Why keys method does not work with MutableMapping?

2016-11-12 Thread triccare triccare
Ahhh, and what is being shown is simply the __repr__. Gotcha. Thanks! On Fri, Nov 11, 2016 at 1:03 PM, Rob Gaddi < rgaddi@highlandtechnology.invalid> wrote: > triccare triccare wrote: > > > Greetings, > > > > Apologies if this has shown up twice; I jumped the gun

Why keys method does not work with MutableMapping?

2016-11-11 Thread triccare triccare
Greetings, Apologies if this has shown up twice; I jumped the gun sending before confirming registration. I have a class that completely implements MutableMapping, meaning that all the abstract methods are implemented. However, the keys method no longer returns the keys, but simply a repr of the

Why keys method does not work with MutableMapping?

2016-11-11 Thread triccare triccare
I have a class that completely implements MutableMapping, meaning that all the abstract methods are implemented. However, the keys method no longer returns the keys, but simply a repr of the instance. Example is below. Same is true for the items method. It would seem that, if all the abstract met