function.__type_params__ and type.__type_params__ should be writable · Issue #104600 · python/cpython · GitHub
来源:github.com
The PEP-695 implementation added a new attribute __type_params__ to functions. I made this field read-only, but I realized there is a use case for writing to it: functools.wraps, when wrapping a generic function, should …
以上为公开页面信息摘要,完整内容请前往原网站阅读。
前往原网站阅读全文热门推荐记录
-
2026-12-01 22:57:40
其他
Formatting library (since C++20) - cppreference.com
Formatting library (since C++20) - cppreference.com
-
2026-12-02 02:51:19
其他
[3.10] Formatting fixes in contextlib docs (GH-98111) by miss-islington · Pull Request #98206 · python/cpython · GitHub
The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
-
2026-12-01 17:02:43
其他
صفاء الحراصية الحاصلة على 99,7% في دبلوم التعليم العام تروي للوطن رحلتها مع التفوق جريدة الوطن
صفاء الحراصية الحاصلة على 99,7% في دبلوم التعليم العام تروي للوطن رحلتها مع التفوق جريدة الوطن
-
2026-12-01 18:45:17
其他
generation · GitHub Topics · GitHub
GitHub is where people build software. More than 225 million people use GitHub to discover, fork, and contribute to over
-
2026-12-01 19:38:03
其他
Linear Algebra and the C Language/a04i - Wikibooks, open books for an open world
Linear Algebra and the C Language/a04i - Wikibooks, open books for an open world