Backport PR
#10073: include docstring in detail_level=1 if no source is found...
Backport PR
#10073: include docstring in detail_level=1 if no source is found
We currently display source for ?? and docstring for ?, which means less info is displayed if no source is found (e.g. compiled functions).
This displays docstring for ?? as a fallback when no source is found.
This is a regression in 5.x
cc pefarrell who reported the bug
Signed-off-by: Thomas Kluyver <thomas@kluyver.me.uk>