[pypy-commit] pypy default: typo?
fijal
noreply at buildbot.pypy.org
Thu Jun 23 15:27:58 CEST 2011
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r45084:9d4650930387
Date: 2011-06-23 15:32 +0200
http://bitbucket.org/pypy/pypy/changeset/9d4650930387/
Log: typo?
diff --git a/pypy/rpython/lltypesystem/rdict.py b/pypy/rpython/lltypesystem/rdict.py
--- a/pypy/rpython/lltypesystem/rdict.py
+++ b/pypy/rpython/lltypesystem/rdict.py
@@ -206,7 +206,7 @@
if dictobj is None:
return lltype.nullptr(self.DICT)
if not isinstance(dictobj, (dict, objectmodel.r_dict)):
- raise TyperError("expected a dict: %r" % (dictobj,))
+ raise TypeError("expected a dict: %r" % (dictobj,))
try:
key = Constant(dictobj)
return self.dict_cache[key]
More information about the pypy-commit
mailing list