Remove assumption that cls is a subclass of dict.
Simplifies the code and gets Just van Rossum's example to work.
2 files changed