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

Matthew Cowles report at bugs.python.org
Sun Jan 7 00:38:37 EST 2018

Matthew Cowles <mdcowles at users.sourceforge.net> added the comment:

My thanks to David for the clarification. I don't find the logic he describes (but does not necessarily subscribe to!) persuasive in this case. In my opinion, "Let's be incorrect for the sake of simplicity," is not the way to document a programming language in the language's official library documentation.

I think that saying, "If the object (technically the class) has a method named..." would add very little burden to people who don't care about the difference.


Python tracker <report at bugs.python.org>

More information about the docs mailing list