[pypy-svn] r32135 - pypy/branch/more-gckinds/pypy/rpython/lltypesystem
mwh at codespeak.net
mwh at codespeak.net
Mon Sep 11 10:22:48 CEST 2006
Author: mwh
Date: Mon Sep 11 10:22:46 2006
New Revision: 32135
Modified:
pypy/branch/more-gckinds/pypy/rpython/lltypesystem/rdict.py
Log:
oops
Modified: pypy/branch/more-gckinds/pypy/rpython/lltypesystem/rdict.py
==============================================================================
--- pypy/branch/more-gckinds/pypy/rpython/lltypesystem/rdict.py (original)
+++ pypy/branch/more-gckinds/pypy/rpython/lltypesystem/rdict.py Mon Sep 11 10:22:46 2006
@@ -639,14 +639,14 @@
# methods
def ll_get(dict, key, default):
- entry = d.entries[ll_dict_lookup(dict, key, dict.keyhash(key))]
+ entry = dict.entries[ll_dict_lookup(dict, key, dict.keyhash(key))]
if entry.valid():
return entry.value
else:
return default
def ll_setdefault(dict, key, default):
- entry = d.entries[ll_dict_lookup(dict, key, dict.keyhash(key))]
+ entry = dict.entries[ll_dict_lookup(dict, key, dict.keyhash(key))]
if entry.valid():
return entry.value
else:
More information about the Pypy-commit
mailing list