diff options
Diffstat (limited to 'Doc/library/webbrowser.rst')
-rw-r--r-- | Doc/library/webbrowser.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/webbrowser.rst b/Doc/library/webbrowser.rst index b978777..56c444d 100644 --- a/Doc/library/webbrowser.rst +++ b/Doc/library/webbrowser.rst @@ -48,7 +48,7 @@ The following exception is defined: The following functions are defined: -.. function:: open(url[, new=0[, autoraise=True]]) +.. function:: open(url, new=0, autoraise=True) Display *url* using the default browser. If *new* is 0, the *url* is opened in the same browser window if possible. If *new* is 1, a new browser window @@ -178,7 +178,7 @@ Browser controllers provide these methods which parallel three of the module-level convenience functions: -.. method:: controller.open(url[, new=0[, autoraise=True]]) +.. method:: controller.open(url, new=0, autoraise=True) Display *url* using the browser handled by this controller. If *new* is 1, a new browser window is opened if possible. If *new* is 2, a new browser page ("tab") |