Sitelet https://rustpython.github.io/website/rustpython_vm/pyobject/type.PyAttributes.html

[][src]Type Definition rustpython_vm::pyobject::PyAttributes

type PyAttributes = HashMap<String, PyObjectRef>;

For attributes we do not use a dict, but a hashmap. This is probably faster, unordered, and only supports strings as keys. TODO: class attributes should maintain insertion order (use IndexMap here)