René's URL Explorer Experiment


Title: gh-99908 Update class documentation to use a modernized example by JosephSBoyle · Pull Request #100433 · python/cpython · GitHub

Open Graph Title: gh-99908 Update class documentation to use a modernized example by JosephSBoyle · Pull Request #100433 · python/cpython

X Title: gh-99908 Update class documentation to use a modernized example by JosephSBoyle · Pull Request #100433 · python/cpython

Description: Small update to the docs to improve on an outmoded example from 15 years ago. The aim of this change is to give readers of the docs a more idiomatic example. Issue: classes odds and ends could me...

Open Graph Description: Small update to the docs to improve on an outmoded example from 15 years ago. The aim of this change is to give readers of the docs a more idiomatic example. Issue: classes odds and ends could me...

X Description: Small update to the docs to improve on an outmoded example from 15 years ago. The aim of this change is to give readers of the docs a more idiomatic example. Issue: classes odds and ends could me...

Mail addresses
joe.boyle@blackcowtech.uk

Opengraph URL: https://github.com/python/cpython/pull/100433

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:87cab032-4d1a-f841-6189-8a2755a44656
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE8C6:3EEF66:143F8E9:1CB0F0F:69691968
html-safe-nonce8a6019dda61aa54245a4c3259353a6052f4f8eef92383436d1cd688917955cc2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEM2OjNFRUY2NjoxNDNGOEU5OjFDQjBGMEY6Njk2OTE5NjgiLCJ2aXNpdG9yX2lkIjoiMTUyOTQyNDUxMTQxMDcwNjc5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdeb729a5aab1a080466479d7b1289ac59f90540f7a6e3dad881c30ec541fddf4
hovercard-subject-tagpull_request:1175162180
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/100433/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/402b20d2efadb08cd33332efeb5aa69130595df1ed9f678b5aaeb3a117e64114/python/cpython/pull/100433
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/402b20d2efadb08cd33332efeb5aa69130595df1ed9f678b5aaeb3a117e64114/python/cpython/pull/100433
og:image:altSmall update to the docs to improve on an outmoded example from 15 years ago. The aim of this change is to give readers of the docs a more idiomatic example. Issue: classes odds and ends could me...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJosephSBoyle
hostnamegithub.com
expected-hostnamegithub.com
None0e60568924309a021b51adabdce15c2a2f285b556f3130d1a2fa2a5bce11c55f
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedd206f7ed6207863172be4a783826e86bd2375c3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/100433#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100433
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F100433
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/100433
Reloadhttps://github.com/python/cpython/pull/100433
Reloadhttps://github.com/python/cpython/pull/100433
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/100433
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 2k 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 pagehttps://github.com/python/cpython/pull/100433
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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/100433#issue-comment-box
JosephSBoylehttps://github.com/JosephSBoyle
python:mainhttps://github.com/python/cpython/tree/main
JosephSBoyle:fix-issue-99908https://github.com/JosephSBoyle/cpython/tree/fix-issue-99908
gh-99908 Update class documentation to use a modernized example https://github.com/python/cpython/pull/100433#top
JosephSBoylehttps://github.com/JosephSBoyle
python:mainhttps://github.com/python/cpython/tree/main
JosephSBoyle:fix-issue-99908https://github.com/JosephSBoyle/cpython/tree/fix-issue-99908
Conversation 8 https://github.com/python/cpython/pull/100433
Commits 3 https://github.com/python/cpython/pull/100433/commits
Checks 0 https://github.com/python/cpython/pull/100433/checks
Files changed https://github.com/python/cpython/pull/100433/files
Please reload this pagehttps://github.com/python/cpython/pull/100433
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/JosephSBoyle
JosephSBoylehttps://github.com/JosephSBoyle
Dec 22, 2022https://github.com/python/cpython/pull/100433#issue-1507947577
Please reload this pagehttps://github.com/python/cpython/pull/100433
classes odds and ends could mention dataclasses #99908https://github.com/python/cpython/issues/99908
Please reload this pagehttps://github.com/python/cpython/pull/100433
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Dec 22, 2022 https://github.com/python/cpython/pull/100433#ref-issue-1470045504
classes odds and ends could mention dataclasses #99908 https://github.com/python/cpython/issues/99908
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Dec 22, 2022https://github.com/python/cpython/pull/100433#event-8096117291
https://github.com/ghost
ghosthttps://github.com/ghost
Dec 22, 2022https://github.com/python/cpython/pull/100433#issuecomment-1362877408
Please reload this pagehttps://github.com/python/cpython/pull/100433
https://cpython-clabot.herokuapp.com/contributor-license-agreement?state=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJnaXRIdWJVc2VySWQiOjQ4NTU1MTIwLCJhZ3JlZW1lbnRWZXJzaW9uSWQiOm51bGwsImF1dGhvcnMiOlsiam9lLmJveWxlQGJsYWNrY293dGVjaC51ayJdLCJwdWxsUmVxdWVzdCI6eyJpZCI6MTE3NTE2MjE4MCwibnVtYmVyIjoxMDA0MzMsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS9weXRob24vY3B5dGhvbi9wdWxsLzEwMDQzMyIsImhlYWRTaGEiOiIzMDIxYjdjMjliZDZiNjEzZWIyMzQ0NmE0M2JmZWRmMzdmYTM2YTg2In0sInJlcG9zaXRvcnkiOnsiaWQiOjgxNTk4OTYxLCJvd25lciI6InB5dGhvbiIsIm93bmVySWQiOjE1MjU5ODEsIm5hbWUiOiJjcHl0aG9uIiwiZnVsbE5hbWUiOiJweXRob24vY3B5dGhvbiJ9LCJpYXQiOjE2NzE4ODc0NDB9.Oqy7f_cwVleLLgk0L-GRdWEB85LcK6Ddq-H9g-Zp3_4
Please reload this pagehttps://github.com/python/cpython/pull/100433
https://github.com/JosephSBoyle
JosephSBoylehttps://github.com/JosephSBoyle
force-pushedhttps://github.com/python/cpython/compare/278affa56dfe5c31c1a79c1232c58b0831ea757e..b02d708f3e611e37587013a239d4b9521e1afc42
278affahttps://github.com/python/cpython/commit/278affa56dfe5c31c1a79c1232c58b0831ea757e
b02d708https://github.com/python/cpython/commit/b02d708f3e611e37587013a239d4b9521e1afc42
Compare https://github.com/python/cpython/compare/278affa56dfe5c31c1a79c1232c58b0831ea757e..b02d708f3e611e37587013a239d4b9521e1afc42
December 22, 2022 14:10https://github.com/python/cpython/pull/100433#event-8096167028
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Dec 22, 2022https://github.com/python/cpython/pull/100433#issuecomment-1362936849
@JosephSBoylehttps://github.com/JosephSBoyle
Please reload this pagehttps://github.com/python/cpython/pull/100433
https://github.com/JosephSBoyle
JosephSBoylehttps://github.com/JosephSBoyle
Dec 22, 2022https://github.com/python/cpython/pull/100433#issuecomment-1362966190
Please reload this pagehttps://github.com/python/cpython/pull/100433
@sobolevnhttps://github.com/sobolevn
Please reload this pagehttps://github.com/python/cpython/pull/100433
https://github.com/JosephSBoyle
JosephSBoylehttps://github.com/JosephSBoyle
force-pushedhttps://github.com/python/cpython/compare/b02d708f3e611e37587013a239d4b9521e1afc42..299ecee846761ece58d8e4ff9f31dfa75d3ab09a
b02d708https://github.com/python/cpython/commit/b02d708f3e611e37587013a239d4b9521e1afc42
299eceehttps://github.com/python/cpython/commit/299ecee846761ece58d8e4ff9f31dfa75d3ab09a
Compare https://github.com/python/cpython/compare/b02d708f3e611e37587013a239d4b9521e1afc42..299ecee846761ece58d8e4ff9f31dfa75d3ab09a
December 22, 2022 20:36https://github.com/python/cpython/pull/100433#event-8098967805
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Dec 23, 2022 https://github.com/python/cpython/pull/100433#pullrequestreview-1228521165
View reviewed changes https://github.com/python/cpython/pull/100433/files
Doc/tutorial/classes.rsthttps://github.com/python/cpython/pull/100433/files#diff-cce67fcd47f7f2eb0e7c82b019417844fa21306a87e3fef7719e6fd1bd1f3774
Please reload this pagehttps://github.com/python/cpython/pull/100433
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Dec 23, 2022 https://github.com/python/cpython/pull/100433#pullrequestreview-1228521705
View reviewed changes https://github.com/python/cpython/pull/100433/files
Doc/tutorial/classes.rsthttps://github.com/python/cpython/pull/100433/files#diff-cce67fcd47f7f2eb0e7c82b019417844fa21306a87e3fef7719e6fd1bd1f3774
Please reload this pagehttps://github.com/python/cpython/pull/100433
https://github.com/JosephSBoyle
JosephSBoylehttps://github.com/JosephSBoyle
force-pushedhttps://github.com/python/cpython/compare/1ebe525156bc4c9d3d0d9d446da9ba267a1aaae9..d6e1eb9548b44466c3f901912328590d9c5cd330
1ebe525https://github.com/python/cpython/commit/1ebe525156bc4c9d3d0d9d446da9ba267a1aaae9
d6e1eb9https://github.com/python/cpython/commit/d6e1eb9548b44466c3f901912328590d9c5cd330
Compare https://github.com/python/cpython/compare/1ebe525156bc4c9d3d0d9d446da9ba267a1aaae9..d6e1eb9548b44466c3f901912328590d9c5cd330
December 23, 2022 11:47https://github.com/python/cpython/pull/100433#event-8102885142
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Dec 23, 2022https://github.com/python/cpython/pull/100433#issuecomment-1363894121
Please reload this pagehttps://github.com/python/cpython/pull/100433
@JosephSBoylehttps://github.com/JosephSBoyle
Please reload this pagehttps://github.com/python/cpython/pull/100433
https://github.com/JosephSBoyle
JosephSBoylehttps://github.com/JosephSBoyle
force-pushedhttps://github.com/python/cpython/compare/d6e1eb9548b44466c3f901912328590d9c5cd330..a3a1750a29cd86922b34e851596f5ace7109eadf
d6e1eb9https://github.com/python/cpython/commit/d6e1eb9548b44466c3f901912328590d9c5cd330
a3a1750https://github.com/python/cpython/commit/a3a1750a29cd86922b34e851596f5ace7109eadf
Compare https://github.com/python/cpython/compare/d6e1eb9548b44466c3f901912328590d9c5cd330..a3a1750a29cd86922b34e851596f5ace7109eadf
December 24, 2022 12:50https://github.com/python/cpython/pull/100433#event-8107328418
December 24, 2022 13:09https://github.com/python/cpython/pull/100433#commits-pushed-de102b1
https://github.com/JosephSBoyle
pythongh-99908https://github.com/python/cpython/issues/99908
Update class documentation to use a modernized examplehttps://github.com/python/cpython/pull/100433/commits/de102b127ed97bb4fecc50f84d3a817a838f15bd
de102b1https://github.com/python/cpython/pull/100433/commits/de102b127ed97bb4fecc50f84d3a817a838f15bd
https://github.com/hauntsaninja
https://github.com/JosephSBoyle
Newline to separate interactive section, like above exampleshttps://github.com/python/cpython/pull/100433/commits/f97869a88eed0656f8f917f22528125e93de3da5
f97869ahttps://github.com/python/cpython/pull/100433/commits/f97869a88eed0656f8f917f22528125e93de3da5
https://github.com/hauntsaninja
https://github.com/JosephSBoyle
Use interpreter output, not comments, like with Dog examplehttps://github.com/python/cpython/pull/100433/commits/3021b7c29bd6b613eb23446a43bfedf37fa36a86
3021b7chttps://github.com/python/cpython/pull/100433/commits/3021b7c29bd6b613eb23446a43bfedf37fa36a86
https://github.com/JosephSBoyle
JosephSBoylehttps://github.com/JosephSBoyle
force-pushedhttps://github.com/python/cpython/compare/a3a1750a29cd86922b34e851596f5ace7109eadf..3021b7c29bd6b613eb23446a43bfedf37fa36a86
a3a1750https://github.com/python/cpython/commit/a3a1750a29cd86922b34e851596f5ace7109eadf
3021b7chttps://github.com/python/cpython/commit/3021b7c29bd6b613eb23446a43bfedf37fa36a86
Compare https://github.com/python/cpython/compare/a3a1750a29cd86922b34e851596f5ace7109eadf..3021b7c29bd6b613eb23446a43bfedf37fa36a86
December 24, 2022 13:10https://github.com/python/cpython/pull/100433#event-8107359154
https://github.com/JosephSBoyle
JosephSBoylehttps://github.com/JosephSBoyle
Dec 24, 2022https://github.com/python/cpython/pull/100433#issuecomment-1364528475
@sobolevnhttps://github.com/sobolevn
Please reload this pagehttps://github.com/python/cpython/pull/100433
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 24, 2022https://github.com/python/cpython/pull/100433#issuecomment-1364528866
@sobolevnhttps://github.com/sobolevn
Please reload this pagehttps://github.com/python/cpython/pull/100433
https://github.com/JosephSBoyle
JosephSBoylehttps://github.com/JosephSBoyle
December 24, 2022 13:17https://github.com/python/cpython/pull/100433#event-8107370041
https://github.com/JosephSBoyle
JosephSBoylehttps://github.com/JosephSBoyle
Dec 24, 2022https://github.com/python/cpython/pull/100433#event-8107370780
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F100433
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/cpython/pull/100433/files/05fbb29272b6504ff36098da58c8494e74024477
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/100433
https://github.com/JosephSBoyle
https://github.com/sobolevn
https://github.com/AlexWaygood
https://github.com/hauntsaninja
https://github.com/bedevere-bot
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.