[pypy-svn] r30515 - pypy/dist/pypy/rpython/lltypesystem
antocuni at codespeak.net
antocuni at codespeak.net
Tue Jul 25 12:41:25 CEST 2006
Author: antocuni
Date: Tue Jul 25 12:41:17 2006
New Revision: 30515
Modified:
pypy/dist/pypy/rpython/lltypesystem/opimpl.py
Log:
Typo
Modified: pypy/dist/pypy/rpython/lltypesystem/opimpl.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/opimpl.py (original)
+++ pypy/dist/pypy/rpython/lltypesystem/opimpl.py Tue Jul 25 12:41:17 2006
@@ -79,12 +79,12 @@
def checkptr(ptr):
if not isinstance(lltype.typeOf(ptr), lltype.Ptr):
raise TypeError("arg must be a pointer, got %r instead" % (
- typeOf(ptr),))
+ lltype.typeOf(ptr),))
def checkadr(adr):
if lltype.typeOf(adr) is not llmemory.Address:
raise TypeError("arg must be an address, got %r instead" % (
- typeOf(adr),))
+ lltype.typeOf(adr),))
def op_ptr_eq(ptr1, ptr2):
More information about the Pypy-commit
mailing list