diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2023-05-18 23:45:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 23:45:37 (GMT) |
commit | 3fadd7d5857842fc5cddd4c496b73161b0bcb421 (patch) | |
tree | a3a18ae7d7f4c9a486fd7679fa2cf9afee3b3d5f /Lib/functools.py | |
parent | f7835fc7e9617cefd87e72002916e258f589c857 (diff) | |
download | cpython-3fadd7d5857842fc5cddd4c496b73161b0bcb421.zip cpython-3fadd7d5857842fc5cddd4c496b73161b0bcb421.tar.gz cpython-3fadd7d5857842fc5cddd4c496b73161b0bcb421.tar.bz2 |
gh-104600: Make function.__type_params__ writable (#104601)
Diffstat (limited to 'Lib/functools.py')
-rw-r--r-- | Lib/functools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/functools.py b/Lib/functools.py index aaf4291..72b2103 100644 --- a/Lib/functools.py +++ b/Lib/functools.py @@ -30,7 +30,7 @@ from types import GenericAlias # wrapper functions that can handle naive introspection WRAPPER_ASSIGNMENTS = ('__module__', '__name__', '__qualname__', '__doc__', - '__annotations__') + '__annotations__', '__type_params__') WRAPPER_UPDATES = ('__dict__',) def update_wrapper(wrapper, wrapped, |