| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6b9c4544-5416-126e-83b8-943ac54cd3be |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DD32:22BD05:1CF66C7:270EAC5:6B000B03 |
| html-safe-nonce | 5180a0396a2b0486e4949945b00e8a44d04d8f9cbe689227306dfe97fd5dc84d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDMyOjIyQkQwNToxQ0Y2NkM3OjI3MEVBQzU6NkIwMDBCMDMiLCJ2aXNpdG9yX2lkIjoiMzI5NzQxMTY1MjM5MTAxMzEyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ec98cb6c5ff3740c24b548992baddbf37d20d6d7d48e08512ffc18ef09e880f5 |
| hovercard-subject-tag | pull_request:808920788 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/typeshed/pull/6670/files |
| twitter:image | https://avatars.githubusercontent.com/u/7040122?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7040122?s=400&v=4 |
| og:image:alt | … to preserve signatures of wrapped and wrapper functions. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/typeshed/pull/6670/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6670%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6670%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Ftypeshed |
| Reload | https://github.com/python/typeshed/pull/6670/files |
| Reload | https://github.com/python/typeshed/pull/6670/files |
| Reload | https://github.com/python/typeshed/pull/6670/files |
| python | https://github.com/python |
| typeshed | https://github.com/python/typeshed |
| Code | https://github.com/python/typeshed |
| Issues196 (196) | https://github.com/python/typeshed/issues |
| Pull requests251 (251) | https://github.com/python/typeshed/pulls |
| Actions | https://github.com/python/typeshed/actions |
| Security and quality | https://github.com/python/typeshed/security |
| Insights | https://github.com/python/typeshed/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose |
| srittau | https://github.com/srittau |
| python:main | https://github.com/python/typeshed/tree/main |
| erictraut:wraps | https://github.com/erictraut/typeshed/tree/wraps |
|
Conversation
61
| https://github.com/python/typeshed/pull/6670 |
|
Commits
23
| https://github.com/python/typeshed/pull/6670/commits |
|
Checks
0
| https://github.com/python/typeshed/pull/6670/checks |
|
Files changed
| https://github.com/python/typeshed/pull/6670/files |
| Please reload this page | https://github.com/python/typeshed/pull/6670/files |
|
Updated functools.wraps and functools.update_wrapper to use ParamSpec…
| https://github.com/python/typeshed/pull/6670/files#top |
|
Show all changes
23 commits
| https://github.com/python/typeshed/pull/6670/files |
|
317fe5b
Updated functools.wraps and functools.update_wrapper to use ParamSpec…
msfterictraut Dec 23, 2021
| https://github.com/python/typeshed/pull/6670/commits/317fe5ba50fb8d9d994fc035b183026c90b2694c |
|
ea7f5cf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 23, 2021
| https://github.com/python/typeshed/pull/6670/commits/ea7f5cfda1170178fc42cb35252746fa51deaaac |
|
10900e2
Based on PR feedback, eliminated second ParamSpec and switched to Pro…
msfterictraut Dec 25, 2021
| https://github.com/python/typeshed/pull/6670/commits/10900e2e35b090299914cfe3e58e33bc04f40e05 |
|
97af48a
Merge branch 'wraps' of https://github.com/erictraut/typeshed into wraps
msfterictraut Dec 25, 2021
| https://github.com/python/typeshed/pull/6670/commits/97af48a21966d45381c34b1b2c8efab39eaadb5e |
|
e0e7ea2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 25, 2021
| https://github.com/python/typeshed/pull/6670/commits/e0e7ea2b43e333db931209c756f141384c6a45b8 |
|
3901a15
Trying another attempt to fix wraps. This time, the wrapped function …
msfterictraut Dec 25, 2021
| https://github.com/python/typeshed/pull/6670/commits/3901a151314ea80063329b53bde69984fbcca098 |
|
c8374cf
Merge branch 'wraps' of https://github.com/erictraut/typeshed into wraps
msfterictraut Dec 25, 2021
| https://github.com/python/typeshed/pull/6670/commits/c8374cfadc509ce0be601553f8fe4e4230366b31 |
|
27ddc44
Fixed merge conflict
msfterictraut Dec 25, 2021
| https://github.com/python/typeshed/pull/6670/commits/27ddc44ad713eab3b4a73a8463e4fa808598a098 |
|
dc71f76
Switched back to Generic from Protocol to avoid variance errors.
msfterictraut Dec 25, 2021
| https://github.com/python/typeshed/pull/6670/commits/dc71f767b4a94033c726c8a3757136a42bd59ea5 |
|
2a20846
Merge branch 'master' into wraps
srittau Jan 6, 2022
| https://github.com/python/typeshed/pull/6670/commits/2a208462a9374e1dd2064e10ec8dc7a21a16fe4b |
|
1d23078
Merge branch 'master' into wraps
JelleZijlstra Jan 29, 2022
| https://github.com/python/typeshed/pull/6670/commits/1d2307817aca5db5e22e8855574ba27a69865fce |
|
2214a68
put wraps back
JelleZijlstra Jan 29, 2022
| https://github.com/python/typeshed/pull/6670/commits/2214a68bb8889b98462831e163e453851eafbda5 |
|
743f911
Merge branch 'master' into wraps
AlexWaygood Apr 18, 2022
| https://github.com/python/typeshed/pull/6670/commits/743f91187542061c978684daf0583d58606f2b6e |
|
fad24de
Swapped ParamSpecs for `_Wrapped` class and renamed ParamSpecs and Ty…
msfterictraut May 21, 2022
| https://github.com/python/typeshed/pull/6670/commits/fad24de0ff11d7ae87348455994a64ee667d7c19 |
|
aea60be
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 21, 2022
| https://github.com/python/typeshed/pull/6670/commits/aea60be183b2cdcab2c4656d2d8502c8d8b1bbb9 |
|
88d705f
Merge branch 'master' into wraps
AlexWaygood May 25, 2022
| https://github.com/python/typeshed/pull/6670/commits/88d705fb288a00225d9ba5b0d4b6f54fc224ae62 |
|
1f7fcfc
Merge branch 'master' into wraps
AlexWaygood Sep 13, 2022
| https://github.com/python/typeshed/pull/6670/commits/1f7fcfc6a1ef5c5771e51096c93fda40f9cf8d85 |
|
823c32d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 13, 2022
| https://github.com/python/typeshed/pull/6670/commits/823c32d04cf9b8bd46628ec4d9f44d60ed607711 |
|
4d7dd16
Fix flake8
AlexWaygood Sep 13, 2022
| https://github.com/python/typeshed/pull/6670/commits/4d7dd16f637c035931e2a9bfd5f4958fc63372db |
|
2bab796
Merge branch 'main' into wraps
srittau Nov 1, 2022
| https://github.com/python/typeshed/pull/6670/commits/2bab796579b00be3da725a30496c66019227a545 |
|
88f4904
Merge branch 'main' into wraps
srittau Nov 1, 2022
| https://github.com/python/typeshed/pull/6670/commits/88f4904e3800b4543d8464fefd60a6377f82d931 |
|
fb51f0d
Merge branch 'main' into wraps
AlexWaygood Feb 7, 2023
| https://github.com/python/typeshed/pull/6670/commits/fb51f0d3f02972d885847bf0ecf0d288b9f47065 |
|
f2aa253
Merge branch 'main' into wraps
AlexWaygood Feb 19, 2023
| https://github.com/python/typeshed/pull/6670/commits/f2aa2533ada6299bf4570140e66d58ef99d4e259 |
|
Clear filters
| https://github.com/python/typeshed/pull/6670/files |
| Please reload this page | https://github.com/python/typeshed/pull/6670/files |
| Please reload this page | https://github.com/python/typeshed/pull/6670/files |
| stdlib/functools.pyi | https://github.com/python/typeshed/pull/6670/files#diff-02c51ed45b741b6765c365fb5d6578c586510bbbd57b10a1dba10aeba37ae157 |
|
View file
| https://github.com/erictraut/typeshed/blob/f2aa2533ada6299bf4570140e66d58ef99d4e259/stdlib/functools.pyi |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/6670/{{ revealButtonHref }} |
|
| https://github.com/python/typeshed/pull/6670/files#diff-02c51ed45b741b6765c365fb5d6578c586510bbbd57b10a1dba10aeba37ae157 |
|
| https://github.com/python/typeshed/pull/6670/files#diff-02c51ed45b741b6765c365fb5d6578c586510bbbd57b10a1dba10aeba37ae157 |
|
| https://github.com/python/typeshed/pull/6670/files#diff-02c51ed45b741b6765c365fb5d6578c586510bbbd57b10a1dba10aeba37ae157 |
|
| https://github.com/python/typeshed/pull/6670/files#diff-02c51ed45b741b6765c365fb5d6578c586510bbbd57b10a1dba10aeba37ae157 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |