mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Fix typo in whatsnew (#9793)
This commit is contained in:
parent
4b6fdf3852
commit
cc6aac60da
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ Some smaller changes made to the core Python language are:
|
|||
by calling :func:`getattr` and throwing away the results. This is necessary
|
||||
because dynamic attribute creation is possible using :meth:`__getattribute__`
|
||||
or :meth:`__getattr__`. If :func:`hasattr` were to just scan instance and class
|
||||
dictionaries it would miss the dynmaic methods and make it difficult to
|
||||
dictionaries it would miss the dynamic methods and make it difficult to
|
||||
implement proxy objects.
|
||||
|
||||
(Discovered by Yury Selivanov and fixed by Benjamin Peterson; :issue:`9666`.)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue