Simon Willison’s Weblog

Subscribe
Atom feed for userdict

1 item tagged “userdict”

2007

DictMixin. I wasn’t aware of this Python class (part of the UserDict module): lets you implement __get__, __set__, __del__ and keys() and provides the other dictionary methods for you.

# 17th August 2007, 10:34 am / dictionaries, dictmixin, ian-bicking, python, stdlib, userdict