commit | 686aae484175ac05c18b8840e0c26ab602a31c88 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Mar 10 09:50:37 2013 -0700 |
committer | Raymond Hettinger <python@rcn.com> | Sun Mar 10 09:50:37 2013 -0700 |
tree | 879caddb77fcc69f1df3a03ae0f28678ebd248a3 | |
parent | 632c8c8ab114290e876c14452a803795cce432a3 [diff] [blame] |
Inherit from object() for consistency
diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst index 923bbe8..cc1b78d 100644 --- a/Doc/howto/descriptor.rst +++ b/Doc/howto/descriptor.rst
@@ -401,7 +401,7 @@ :func:`dict.fromkeys` creates a new dictionary from a list of keys. The pure Python equivalent is:: - class Dict: + class Dict(object): . . . def fromkeys(klass, iterable, value=None): "Emulate dict_fromkeys() in Objects/dictobject.c"