Skip to content

dict datastructures could include | and |= behavior #2977

Closed

Description

@davidism

Python 3.9 added two operators to dict:

  • a | b does {*a, *b}
  • a |= b does a.update(b)

Implement this for our various dict datastructures (assuming it makes sense in each case).

Activity

  1. added this to the 3.1.0 milestone on Oct 30, 2024
  2. self-assigned this
    on Oct 30, 2024
  3. locked as resolved and limited conversation to collaborators on Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions