gh-144285: Improve `AttributeError` attribute suggestions (#144299)

4 files changed