[3.13] gh-120541: Improve the "less" prompt in pydoc (GH-120543) (GH-120562)
When help() is called with non-string argument, use __qualname__ or
__name__ if available, otherwise use "{typename} object".
(cherry picked from commit 31d1d72d7e24e0427df70f7dd14b9baff28a4f89)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> M
Miss Islington (bot) committed
3a9f438c923f6835fab608de65e44281e3f71b79
Parent: 29bbd5f
Committed by GitHub <noreply@github.com>
on 6/15/2024, 6:21:13 PM