This commit is contained in:
Raymond Hettinger 2013-03-10 09:51:37 -07:00
commit 6584a1e72c
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ is to create alternate class constructors. In Python 2.3, the classmethod
: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"