[Libreoffice-bugs] [Bug 126392] [RFE] A way to print properties/methods of an object is needed

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jul 14 23:33:41 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=126392

--- Comment #1 from Konstantin Kharlamov <hi-angel at yandex.ru> ---
UPDATE: I found 2 workarounds:

1. executing "dir(object_name)", e.g. "dir(model.CurrentController)" for the
"steps to reproduce" seems to give properties and methods
2. forcing interactive python shell to autocomplete, e.g. by typing
model.CurrentController. and pressing TAB twice, makes it to show the list too
(and this list even shows methods and properties differently: methods ends up
with "(" symbol).

Possible gotcha: these workarounds are specific to python. So I'm not sure
whether they can be qualified as a solution to the report.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190714/c6c48369/attachment-0001.html>


More information about the Libreoffice-bugs mailing list