SIGN IN SIGN UP

bpo-44024: Improve the TypeError message in getattr and hasattr (GH-25863)

Use common error message for non-string attribute name in the builtin
functions getattr and hasattr.
The special check no longer needed since Python 3.0.
G
Géry Ogam committed
16bf9bd157c7bf5f9c60414fa8e0fe5047c55a9b
Parent: 60ceedb
Committed by GitHub <noreply@github.com> on 1/18/2022, 8:46:26 PM