[lang-ref]
( dictionary )
>
( dict_elem_ops )
> ( dict_size ) ( python )
[lang-ref] ( dict_size ) ( python )
def test_dict_size(): # len(d) d = { 'A': 1, 'B': 2, 'C': 3 } assert len(d) == 3