diff options
author | Géry Ogam <gery.ogam@gmail.com> | 2022-01-18 21:46:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 22:46:26 +0200 |
commit | 16bf9bd157c7bf5f9c60414fa8e0fe5047c55a9b (patch) | |
tree | b292c0e5249522ef373b9c0b93acb09430706864 /Python/context.c | |
parent | 60ceedbdd5b5fb22803039a59954798d931f659a (diff) | |
download | cpython-git-16bf9bd157c7bf5f9c60414fa8e0fe5047c55a9b.tar.gz |
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.
Diffstat (limited to 'Python/context.c')
0 files changed, 0 insertions, 0 deletions