[docs] [issue32501] Documentation for dir([object])

Eric V. Smith report at bugs.python.org
Sat Jan 6 11:03:44 EST 2018

Eric V. Smith <eric at 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 <report at bugs.python.org>

More information about the docs mailing list