diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-06-15 18:21:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-15 18:21:13 (GMT) |
commit | 3a9f438c923f6835fab608de65e44281e3f71b79 (patch) | |
tree | 8d7dee61e888abafe487a39cf3aab8efca696f3a /Python/getplatform.c | |
parent | 29bbd5f8e41217d53ac5eb5cd05f58477b5baa59 (diff) | |
download | cpython-3a9f438c923f6835fab608de65e44281e3f71b79.zip cpython-3a9f438c923f6835fab608de65e44281e3f71b79.tar.gz cpython-3a9f438c923f6835fab608de65e44281e3f71b79.tar.bz2 |
[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>
Diffstat (limited to 'Python/getplatform.c')
0 files changed, 0 insertions, 0 deletions