Tag

subclassing

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Sep 16, 2024 · Fundamentals

Python dict, set, and frozenset: Common Methods, Subclassing, and Implementation Principles

This article explains Python's dict, set, and frozenset containers, lists their most frequently used methods, demonstrates how to subclass dict and create a container class, and describes the hash‑table implementation details that give these data structures their high performance.

Data StructuresPython__dict__
0 likes · 12 min read
Python dict, set, and frozenset: Common Methods, Subclassing, and Implementation Principles