source/text/sbasic/python/python_programming.xhp | 2 +- source/text/sbasic/python/python_session.xhp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit e3a09f8bc5c2276f3484a891b18b7da615160acb Author: LibreOļ¬ciant <openoffici...@sfr.fr> AuthorDate: Wed Feb 6 10:45:46 2019 +0100 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Wed Feb 6 12:44:07 2019 +0100 Improve scripts legibility for Python newbies Change-Id: I6adee2c58d4030c433a9fdf0c070069264564742 Reviewed-on: https://gerrit.libreoffice.org/67439 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/source/text/sbasic/python/python_programming.xhp b/source/text/sbasic/python/python_programming.xhp index a513c684c..fe357bd22 100644 --- a/source/text/sbasic/python/python_programming.xhp +++ b/source/text/sbasic/python/python_programming.xhp @@ -291,7 +291,7 @@ <paragraph role="pycode" id="N0316"> ui = load_library("my_gui",'screen_io') # add <lib> path + import <module> </paragraph> <paragraph role="pycode" localize="false" id="N0317"> ui.MsgBox(sys.modules.keys())</paragraph> <paragraph role="pycode" localize="false" id="N0314"></paragraph> - <paragraph role="pycode" localize="false" id="N0319">g_exportedScripts = import_embedded_python, # Public macros</paragraph> + <paragraph role="pycode" localize="false" id="N0319">g_exportedScripts = (import_embedded_python,) # Public macros</paragraph> </pycode> </section> <section id="relatedtopics"> diff --git a/source/text/sbasic/python/python_session.xhp b/source/text/sbasic/python/python_session.xhp index e6a49c91e..5ee5c55f4 100644 --- a/source/text/sbasic/python/python_session.xhp +++ b/source/text/sbasic/python/python_session.xhp @@ -43,7 +43,7 @@ <paragraph role="pycode" xml-lang="en-US" id="N0357"> ui.MsgBox(s.UserName,title='Hello') # object property</paragraph> <paragraph role="pycode" xml-lang="en-US" id="N0358"> ui.Print(s.UserPythonScripts) # object property</paragraph> <paragraph role="pycode" localize="false" id="N0359"> </paragraph> - <paragraph role="pycode" xml-lang="en-US" id="N0360">g_exportedScripts = demo_session, # public macros</paragraph> + <paragraph role="pycode" xml-lang="en-US" id="N0360">g_exportedScripts = (demo_session,) # public macros</paragraph> </pycode> <h3 id="N0361">With %PRODUCTNAME Basic.</h3> <bascode> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits