diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2019-09-03 15:48:35 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2019-09-03 15:48:35 -0400 |
| commit | 3ccd563f68ab9b19edfe8e79d592e59645a44d36 (patch) | |
| tree | b656cb2a386d281613ecab5852d8c27a93282386 /python/plugin.py | |
| parent | cc850ebdf753a4fa8643e6b3e596d212251f010c (diff) | |
add a few missing len properties and __str__ for StringReference
Diffstat (limited to 'python/plugin.py')
| -rw-r--r-- | python/plugin.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/plugin.py b/python/plugin.py index 27549c3d..72a5ed42 100644 --- a/python/plugin.py +++ b/python/plugin.py @@ -43,6 +43,9 @@ class PluginCommandContext(object): self._function = None self._instruction = None + def __len__(self): + return self._length + @property def view(self): """ """ |
