i2mint / i2

Python Mint creation, manipulation, and use
Apache License 2.0
2 stars 1 forks source link

Include all `MutableMapping` dunders in `sigs_for_builtin_modules` #60

Closed thorwhalen closed 1 year ago

thorwhalen commented 1 year ago

This is related to issues 58, which compelled us to include __getitem__ in sigs_for_builtin_modules.

Here, we want to cover the other dunders of MutableMapping (see them here).

Note though, that we won't cover the non-dunder methods here (not sure we should yet), and also note that we'll make the signatures be those of MutableMapping, more or less (though there's some hesitation due to the fact that some of these dunders are in other python objects too, and don't exactly share the same signatures).