allow the call to len on Value proxy.
--HG-- extra : convert_revision : 1a0aaf8db5ef60e0e7fc053bf4605eb90bb6e9e0
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user