| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2d514157-b360-54a2-fc49-58ecc77b636b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AE2C:2728FC:10C8018:1671DCA:69699263 |
| html-safe-nonce | 2f02f962bb13e3b66b26d0fbdef17b4034ba768ed70c5f2f813cf3e9fc513884 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTJDOjI3MjhGQzoxMEM4MDE4OjE2NzFEQ0E6Njk2OTkyNjMiLCJ2aXNpdG9yX2lkIjoiNTk3NjU4Nzk4OTMzODkxOTUyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 833a12aad7e6cf8b5233b317691bc48dfab6a97431f39a03f99ce4f8018e4f97 |
| hovercard-subject-tag | pull_request:594590635 |
| 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/cpython/pull/24901/files |
| twitter:image | https://avatars.githubusercontent.com/u/33548838?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/33548838?s=400&v=4 |
| og:image:alt | This PR provides the following changes to the Descriptor HowTo Guide:
fix a typo;
fix a Sphinx tag preventing syntax highlighting;
fix a bug in ClassMethod;
reuse an existing cls name in Object;
a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/24901/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F24901%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F24901%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%2Fcpython |
| Reload | https://github.com/python/cpython/pull/24901/files |
| Reload | https://github.com/python/cpython/pull/24901/files |
| Reload | https://github.com/python/cpython/pull/24901/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%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%2Fcpython%2Fissues%2Fnew%2Fchoose |
| rhettinger | https://github.com/rhettinger |
| python:main | https://github.com/python/cpython/tree/main |
| geryogam:patch-14 | https://github.com/geryogam/cpython/tree/patch-14 |
|
Conversation
58
| https://github.com/python/cpython/pull/24901 |
|
Commits
25
| https://github.com/python/cpython/pull/24901/commits |
|
Checks
0
| https://github.com/python/cpython/pull/24901/checks |
|
Files changed
| https://github.com/python/cpython/pull/24901/files |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
|
Minor edits to the Descriptor HowTo Guide
| https://github.com/python/cpython/pull/24901/files#top |
|
Show all changes
25 commits
| https://github.com/python/cpython/pull/24901/files |
|
58b799d
Fix wrong Sphinx markup preventing syntax highlighting
geryogam Mar 17, 2021
| https://github.com/python/cpython/pull/24901/commits/58b799dc66923796f68a7dca1b4992bfb3d66793 |
|
f77b0f9
Fix a bug in the ClassMethod Python equivalent
geryogam Mar 17, 2021
| https://github.com/python/cpython/pull/24901/commits/f77b0f9ad22230fb65565ff72670c24421ddf68f |
|
1dbd876
Fix the description of the ClassMethod Python equivalent
geryogam Mar 17, 2021
| https://github.com/python/cpython/pull/24901/commits/1dbd876423420f06ec0517b5cf4bc186880ab09a |
|
d0d301e
Raise TypeError for __get__(None, None) calls
geryogam Mar 19, 2021
| https://github.com/python/cpython/pull/24901/commits/d0d301eaf1ccb1b17533e90f430a6e0fbc06e0d4 |
|
e87fe37
Fix a typo
geryogam Mar 22, 2021
| https://github.com/python/cpython/pull/24901/commits/e87fe373cf9c4fee636fd0dd261f6541947eb937 |
|
52a06d0
Use the existing cls variable
geryogam Mar 25, 2021
| https://github.com/python/cpython/pull/24901/commits/52a06d03173752bb2053d46e2ff2e36b86b8e4f9 |
|
2f9971b
Allow keyword arguments in Object.__new__
geryogam Mar 31, 2021
| https://github.com/python/cpython/pull/24901/commits/2f9971b1f59f2eff50eefcd23719461f05c95ca9 |
|
2f335ca
Use two more super() for consistency
geryogam Mar 31, 2021
| https://github.com/python/cpython/pull/24901/commits/2f335ca69352169d3d5e8f2eeddf790024d29eb3 |
|
4886dbb
Add Object.__getattribute__ to raise AttributeError with the correct …
geryogam Mar 31, 2021
| https://github.com/python/cpython/pull/24901/commits/4886dbbb4c6756a385cdc367d6dda9ebc131c2f8 |
|
705c577
Allow attribute lookup from a class in Member.__get__
geryogam Mar 31, 2021
| https://github.com/python/cpython/pull/24901/commits/705c577a6d02c205cb2dd5232516a1364cca4b85 |
|
c0e6432
Allow keyword arguments in Type.__new__
geryogam Mar 31, 2021
| https://github.com/python/cpython/pull/24901/commits/c0e6432ca9d0f7af39a2f78bae70b5d6fe7a335d |
|
81ec93c
Raise ValueError for slot names conflicting with class variables
geryogam Apr 1, 2021
| https://github.com/python/cpython/pull/24901/commits/81ec93c91a158f1aa6433219fb5c386694bba591 |
|
34eef3a
Update descriptor.rst
geryogam Apr 1, 2021
| https://github.com/python/cpython/pull/24901/commits/34eef3af642983cbf5d851ef80b5e76716dce676 |
|
ae8c622
Raise TypeError for non-empty __slots__ in subclasses of variable-len…
geryogam Apr 5, 2021
| https://github.com/python/cpython/pull/24901/commits/ae8c62267c5176b7b8572929d805bd6721d38f45 |
|
1d5fb96
Raise TypeError for non-empty __slots__ in subclasses of variable-len…
geryogam Apr 5, 2021
| https://github.com/python/cpython/pull/24901/commits/1d5fb9656848fcf823f4bf59b709c61d0f91f2f0 |
|
4671b91
Apply requested changes and remove changes on the slots emulation
geryogam May 10, 2022
| https://github.com/python/cpython/pull/24901/commits/4671b919391934699159ab5371010044d6e65e22 |
|
0a132bf
Merge branch 'main' into patch-14
geryogam May 10, 2022
| https://github.com/python/cpython/pull/24901/commits/0a132bf66953bd857a6d3f0f24a1c1d6e6e8168c |
|
62fe4fc
Update descriptor.rst
geryogam May 10, 2022
| https://github.com/python/cpython/pull/24901/commits/62fe4fcdfe141d1fa5edc1ec5fcacbcb8cf2a387 |
|
1252f4b
Update descriptor.rst
geryogam May 10, 2022
| https://github.com/python/cpython/pull/24901/commits/1252f4b0414e9ab39313be48ecbf456bf36f438e |
|
58ae977
Update descriptor.rst
geryogam May 10, 2022
| https://github.com/python/cpython/pull/24901/commits/58ae977e18441c320bfb2de674a4b76ef3166c8e |
|
5630c64
Update descriptor.rst
geryogam May 10, 2022
| https://github.com/python/cpython/pull/24901/commits/5630c64008f1edb7385f6421ea1800a21ccfb6d0 |
|
bfb33f7
Merge branch 'main' into patch-14
geryogam May 10, 2022
| https://github.com/python/cpython/pull/24901/commits/bfb33f72470129fbc4f1baabe4945cb9e12e2ea1 |
|
5d45eaa
Revert the two-argument form of super() and forward variadic arguments
geryogam Oct 4, 2022
| https://github.com/python/cpython/pull/24901/commits/5d45eaaee8ec9b59f32b785233e3d702b02b0fcc |
|
c853e6b
Merge branch 'main' into patch-14
rhettinger Oct 7, 2022
| https://github.com/python/cpython/pull/24901/commits/c853e6b746e93013d590edc0a8f077c268ed3cfa |
|
bcc9da0
Update descriptor.rst
geryogam Oct 8, 2022
| https://github.com/python/cpython/pull/24901/commits/bcc9da0560045eaf8d8cd3cded33362694cbfc32 |
|
Clear filters
| https://github.com/python/cpython/pull/24901/files |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
| Doc/howto/descriptor.rst | https://github.com/python/cpython/pull/24901/files#diff-cd5dc4415c95a8ebaa765e9bc0b42495d8614295044502499ec66333c1ed6df9 |
|
View file
| https://github.com/geryogam/cpython/blob/bcc9da0560045eaf8d8cd3cded33362694cbfc32/Doc/howto/descriptor.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/24901/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/24901/files#diff-cd5dc4415c95a8ebaa765e9bc0b42495d8614295044502499ec66333c1ed6df9 |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
|
| https://github.com/python/cpython/pull/24901/files#diff-cd5dc4415c95a8ebaa765e9bc0b42495d8614295044502499ec66333c1ed6df9 |
|
| https://github.com/python/cpython/pull/24901/files#diff-cd5dc4415c95a8ebaa765e9bc0b42495d8614295044502499ec66333c1ed6df9 |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
|
| https://github.com/python/cpython/pull/24901/files#diff-cd5dc4415c95a8ebaa765e9bc0b42495d8614295044502499ec66333c1ed6df9 |
|
| https://github.com/python/cpython/pull/24901/files#diff-cd5dc4415c95a8ebaa765e9bc0b42495d8614295044502499ec66333c1ed6df9 |
|
| https://github.com/python/cpython/pull/24901/files#diff-cd5dc4415c95a8ebaa765e9bc0b42495d8614295044502499ec66333c1ed6df9 |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
|
| https://github.com/python/cpython/pull/24901/files#diff-cd5dc4415c95a8ebaa765e9bc0b42495d8614295044502499ec66333c1ed6df9 |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
|
| https://github.com/python/cpython/pull/24901/files#diff-cd5dc4415c95a8ebaa765e9bc0b42495d8614295044502499ec66333c1ed6df9 |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
| Please reload this page | https://github.com/python/cpython/pull/24901/files |
|
| https://github.com/python/cpython/pull/24901/files#diff-cd5dc4415c95a8ebaa765e9bc0b42495d8614295044502499ec66333c1ed6df9 |
|
| 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 |