diff options
| author | Jordan Wiens <github@psifertex.com> | 2019-07-24 13:44:53 -0400 |
|---|---|---|
| committer | Jordan Wiens <github@psifertex.com> | 2019-07-24 13:44:53 -0400 |
| commit | ede41e0ceb67494371030fbd5041852bf1900fdf (patch) | |
| tree | 64a40a296e90ce2a9ba9b3cb20424854e900bf70 /python/datarender.py | |
| parent | 16d6fc70bfbc47ccf1b3410c3762830ad09f1fc5 (diff) | |
small documentation improvements
Diffstat (limited to 'python/datarender.py')
| -rw-r--r-- | python/datarender.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/python/datarender.py b/python/datarender.py index efcaf606..0aaa81a7 100644 --- a/python/datarender.py +++ b/python/datarender.py @@ -54,18 +54,17 @@ class DataRenderer(object): class BarDataRenderer(DataRenderer): def __init__(self): DataRenderer.__init__(self) - def perform_is_valid_for_data(self, ctxt, view, addr, type, context): return DataRenderer.is_type_of_struct_name(type, "BAR", context) - def perform_get_lines_for_data(self, ctxt, view, addr, type, prefix, width, context): prefix.append(InstructionTextToken(InstructionTextTokenType.TextToken, "I'm in ur BAR")) return [DisassemblyTextLine(prefix, addr)] - def __del__(self): pass BarDataRenderer().register_type_specific() + + Note that the formatting is sub-optimal to work around an issue with Sphinx and reStructured text """ _registered_renderers = [] |
