Skip to content

It's better to use "Set" to refer to class Set than "Set()" #151070

@hikorp

Description

@hikorp

Documentation

source: "3.14.5 Documentation » The Python Standard Library » Data Types » collections.abc — Abstract Base Classes for Containers", at the bottom of the page

Image

issue: In the description "To add set hashability using mixins, inherit from both Set() and Hashable(), then define hash = Set._hash.", I think it's better to use "Set and Hashable" rather than "Set() and Hashable()" to refer to the classes.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions