From 48e0b9ed4dd6f69cc41003d20bf755eeaf6fb633 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 22 Mar 2005 14:51:31 -0500 Subject: style python/m5/convert.py: python/m5/smartdict.py: follow our naming convention --HG-- extra : convert_revision : d57a103dfbad1fb6a076bfacdca226c4b1893fb8 --- python/m5/smartdict.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'python/m5/smartdict.py') diff --git a/python/m5/smartdict.py b/python/m5/smartdict.py index 1ba5d8410..0dbcc50b0 100644 --- a/python/m5/smartdict.py +++ b/python/m5/smartdict.py @@ -20,13 +20,13 @@ class SmartDict(dict): class Proxy(str): def __int__(self): - return int(to_integer(str(self))) + return int(toInteger(str(self))) def __long__(self): - return long(to_integer(str(self))) + return long(toInteger(str(self))) def __float__(self): - return float(to_integer(str(self))) + return float(toInteger(str(self))) def __nonzero__(self): - return to_bool(str(self)) + return toBool(str(self)) def convert(self, other): t = type(other) if t == bool: -- cgit v1.2.3