Skip to content

Minor error in the doc for controller.name in the webbrowser documentation page #122399

@jordibc

Description

@jordibc

Documentation

In https://docs.python.org/3/library/webbrowser.html#browser-controller-objects it says:

 webbrowser.name
    System-dependent name for the browser.

when it should be controller instead of webbrowser (it is the controller object that has the name attribute, not the webbrowser module).

In addition to that, I think that the first sentence,

Browser controllers provide these methods which parallel three of the module-level convenience functions:

would probably be better with something like:

Browser controllers provide the `name` attribute, and these methods which parallel three of the module-level convenience functions:

Thanks!

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions