bpo-38530: Offer suggestions on AttributeError (#16856)
When printing AttributeError, PyErr_Display will offer suggestions of similar attribute names in the object that the exception was raised from: >>> collections.namedtoplo Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'collections' has no attribute 'namedtoplo'. Did you mean: namedtuple?
P
Pablo Galindo committed
37494b441aced0362d7edd2956ab3ea7801e60c8
Parent: 3bc694d
Committed by GitHub <noreply@github.com>
on 4/14/2021, 1:36:07 AM