Eric V. Smith <e...@trueblade.com> added the comment: It's described here: https://docs.python.org/3/reference/datamodel.html#special-lookup
Maybe we should have a glossary entry for "special method lookup", and somehow link mentions like __dir__ to it? This is slightly different from https://docs.python.org/3/reference/datamodel.html#specialnames, which already has a glossary entry. On the other hand, unless you already understand the problem, it's going to be difficult to search for it. ---------- nosy: +eric.smith _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32501> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com