mirror of
https://github.com/python/cpython
synced 2026-09-28 03:33:18 +03:00
[3.13] gh-118895: Call PyType_Ready() on typing.NoDefault (GH-118897) (#118914)
(cherry picked from commit 13d7cf997b)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
0becae366c
commit
6df49134b3
4 changed files with 27 additions and 2 deletions
|
|
@ -0,0 +1,2 @@
|
|||
Setting attributes on :data:`typing.NoDefault` now raises
|
||||
:exc:`AttributeError` instead of :exc:`TypeError`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue