From 3ccd563f68ab9b19edfe8e79d592e59645a44d36 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Tue, 3 Sep 2019 15:48:35 -0400 Subject: add a few missing len properties and __str__ for StringReference --- python/plugin.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/plugin.py') 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): """ """ -- cgit v1.3.1