From 1e20b35158b23e9737ea3688531c8780ae481ee3 Mon Sep 17 00:00:00 2001 From: LibreOļ¬ƒciant Date: Fri, 16 Aug 2019 17:02:35 +0200 Subject: Python console examples work better this way Change-Id: I0c325b7fed727f398c11eea41d7c46a061c3a837 Reviewed-on: https://gerrit.libreoffice.org/77598 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- source/text/sbasic/python/python_screen.xhp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/text/sbasic/python/python_screen.xhp b/source/text/sbasic/python/python_screen.xhp index ed5591711c..b88fa923af 100644 --- a/source/text/sbasic/python/python_screen.xhp +++ b/source/text/sbasic/python/python_screen.xhp @@ -32,7 +32,7 @@ Print(txt)

Examples:

>>> import screen_io as ui - >>> reply = ui.InputBox('Please enter a phrase', title='Dear user', default="here..") + >>> reply = ui.InputBox('Please enter a phrase', title='Dear user', defaultValue="here..") >>> rc = ui.MsgBox(reply, title="Confirmation of phrase") >>> age = ui.InputBox('How old are you?', title="Hi") >>> ui.Print(age) -- cgit