From 5c82c6036e04936e253d2031f73f8218bbed06aa Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Fri, 3 Sep 2021 11:12:56 -0400 Subject: Commonize _to_core_struct/_from_core_struct Improve implementation of immutable_copy/mutable_copy --- python/highlight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/highlight.py') diff --git a/python/highlight.py b/python/highlight.py index 59c9025a..e76d0c10 100644 --- a/python/highlight.py +++ b/python/highlight.py @@ -151,7 +151,7 @@ class HighlightColor: return "" % (self.red, self.green, self.blue, self.alpha) return "" - def _get_core_struct(self): + def _to_core_struct(self) -> core.BNHighlightColor: result = core.BNHighlightColor() result.style = self.style result.color = HighlightStandardColor.NoHighlightColor -- cgit v1.3.1