diff options
Diffstat (limited to 'python/m5/config.py')
-rw-r--r-- | python/m5/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/m5/config.py b/python/m5/config.py index e6ad5a0ba..bb880cd29 100644 --- a/python/m5/config.py +++ b/python/m5/config.py @@ -895,6 +895,9 @@ class Value(object): def __str__(self): return str(self._getattr()) + def __len__(self): + return len(self._getattr()) + # Regular parameter. class _Param(object): def __init__(self, ptype, *args, **kwargs): |