René's URL Explorer Experiment


Title: gh-106318: Add example for `str.count()` by blaisep · Pull Request #134519 · python/cpython · GitHub

Open Graph Title: gh-106318: Add example for `str.count()` by blaisep · Pull Request #134519 · python/cpython

X Title: gh-106318: Add example for `str.count()` by blaisep · Pull Request #134519 · python/cpython

Description: WIP to fix #106318 Issue: Add examples to docs for str methods #106318 📚 Documentation preview 📚: https://cpython-previews--134519.org.readthedocs.build/

Open Graph Description: WIP to fix #106318 Issue: Add examples to docs for str methods #106318 📚 Documentation preview 📚: https://cpython-previews--134519.org.readthedocs.build/

X Description: WIP to fix #106318 Issue: Add examples to docs for str methods #106318 📚 Documentation preview 📚: https://cpython-previews--134519.org.readthedocs.build/

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

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:5b0f0121-ce86-ef02-84d6-0cdbe4759514
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id91AA:145B07:9DBD54:DC64BE:696A2FC3
html-safe-nonce158240b8bf5ecb1b4e14882d1e77326521b10742c530f23b2a7760213b3cd7b7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUFBOjE0NUIwNzo5REJENTQ6REM2NEJFOjY5NkEyRkMzIiwidmlzaXRvcl9pZCI6IjM3MjIzNjAyMTIxOTg2NDUxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2586f02d2502125332595077d1d7c2cf7727a8eb043864920d5184f22979b730
hovercard-subject-tagpull_request:2537560175
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/134519/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/78c7bcc22b8816e01d3f96293b337e1110f6de76e469595b6dab72d6f8f094ba/python/cpython/pull/134519
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/78c7bcc22b8816e01d3f96293b337e1110f6de76e469595b6dab72d6f8f094ba/python/cpython/pull/134519
og:image:altWIP to fix #106318 Issue: Add examples to docs for str methods #106318 📚 Documentation preview 📚: https://cpython-previews--134519.org.readthedocs.build/
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameblaisep
hostnamegithub.com
expected-hostnamegithub.com
Noneade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623
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
releasec00842167ca2e5b13e8171812965d503e925ece6
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/134519#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134519
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%2F134519
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/134519
Reloadhttps://github.com/python/cpython/pull/134519
Reloadhttps://github.com/python/cpython/pull/134519
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/134519
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 pagehttps://github.com/python/cpython/pull/134519
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/134519#issue-comment-box
hugovkhttps://github.com/hugovk
python:mainhttps://github.com/python/cpython/tree/main
blaisep:106318.counthttps://github.com/blaisep/cpython/tree/106318.count
gh-106318: Add example for str.count() https://github.com/python/cpython/pull/134519#top
hugovkhttps://github.com/hugovk
python:mainhttps://github.com/python/cpython/tree/main
blaisep:106318.counthttps://github.com/blaisep/cpython/tree/106318.count
Conversation 4 https://github.com/python/cpython/pull/134519
Commits 1 https://github.com/python/cpython/pull/134519/commits
Checks 39 https://github.com/python/cpython/pull/134519/checks
Files changed https://github.com/python/cpython/pull/134519/files
Please reload this pagehttps://github.com/python/cpython/pull/134519
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/blaisep
blaisephttps://github.com/blaisep
May 22, 2025https://github.com/python/cpython/pull/134519#issue-3083776191
Please reload this pagehttps://github.com/python/cpython/pull/134519
#106318https://github.com/python/cpython/issues/106318
Add examples to docs for str methods #106318https://github.com/python/cpython/issues/106318
https://cpython-previews--134519.org.readthedocs.build/https://cpython-previews--134519.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/134519
https://github.com/blaisep
Add example for str.count()https://github.com/python/cpython/pull/134519/commits/8132ff52d605e06615fdf9edbce0562e06b07e92
8132ff5https://github.com/python/cpython/pull/134519/commits/8132ff52d605e06615fdf9edbce0562e06b07e92
python#106318https://github.com/python/cpython/issues/106318
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
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
May 22, 2025https://github.com/python/cpython/pull/134519#event-17774971056
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 22, 2025 https://github.com/python/cpython/pull/134519#ref-issue-1784190846
Add examples to docs for str methods #106318 https://github.com/python/cpython/issues/106318
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 22, 2025https://github.com/python/cpython/pull/134519#event-17774971349
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Docs PRshttps://github.com/orgs/python/projects/50
May 22, 2025https://github.com/python/cpython/pull/134519#event-17774972237
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Docs PRshttps://github.com/orgs/python/projects/50
May 22, 2025https://github.com/python/cpython/pull/134519#event-17774972858
https://github.com/hugovk
hugovkhttps://github.com/hugovk
1729468https://github.com/python/cpython/commit/17294680167d4b61dbf3d705f07b213b7c58e2dd
May 23, 2025https://github.com/python/cpython/pull/134519#event-17787021663
Please reload this pagehttps://github.com/python/cpython/pull/134519
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Docs PRshttps://github.com/orgs/python/projects/50
May 23, 2025https://github.com/python/cpython/pull/134519#event-17787022512
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
May 23, 2025https://github.com/python/cpython/pull/134519#event-17787022394
https://github.com/hugovk
hugovkhttps://github.com/hugovk
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
May 23, 2025https://github.com/python/cpython/pull/134519#event-17787023414
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
May 23, 2025https://github.com/python/cpython/pull/134519#issuecomment-2903889528
@blaisephttps://github.com/blaisep
@hugovkhttps://github.com/hugovk
Please reload this pagehttps://github.com/python/cpython/pull/134519
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
May 23, 2025https://github.com/python/cpython/pull/134519#issuecomment-2903889540
@blaisephttps://github.com/blaisep
@hugovkhttps://github.com/hugovk
Please reload this pagehttps://github.com/python/cpython/pull/134519
miss-islingtonhttps://github.com/miss-islington
May 23, 2025 https://github.com/python/cpython/pull/134519#ref-commit-a63d03a
https://github.com/blaisep
https://github.com/miss-islington
pythongh-106318https://github.com/python/cpython/issues/106318
: Add example forhttps://github.com/miss-islington/cpython/commit/a63d03a10ba7b93038e0987aed062450bcf8dfa3
str.count()https://github.com/miss-islington/cpython/commit/a63d03a10ba7b93038e0987aed062450bcf8dfa3
(https://github.com/miss-islington/cpython/commit/a63d03a10ba7b93038e0987aed062450bcf8dfa3
pythonGH-134519https://github.com/python/cpython/pull/134519
)https://github.com/miss-islington/cpython/commit/a63d03a10ba7b93038e0987aed062450bcf8dfa3
a63d03ahttps://github.com/miss-islington/cpython/commit/a63d03a10ba7b93038e0987aed062450bcf8dfa3
1729468https://github.com/miss-islington/cpython/commit/17294680167d4b61dbf3d705f07b213b7c58e2dd
miss-islingtonhttps://github.com/miss-islington
May 23, 2025 https://github.com/python/cpython/pull/134519#ref-commit-b5fa558
https://github.com/blaisep
https://github.com/miss-islington
pythongh-106318https://github.com/python/cpython/issues/106318
: Add example forhttps://github.com/miss-islington/cpython/commit/b5fa558d4f940524b397111162b0137547dda871
str.count()https://github.com/miss-islington/cpython/commit/b5fa558d4f940524b397111162b0137547dda871
(https://github.com/miss-islington/cpython/commit/b5fa558d4f940524b397111162b0137547dda871
pythonGH-134519https://github.com/python/cpython/pull/134519
)https://github.com/miss-islington/cpython/commit/b5fa558d4f940524b397111162b0137547dda871
b5fa558https://github.com/miss-islington/cpython/commit/b5fa558d4f940524b397111162b0137547dda871
1729468https://github.com/miss-islington/cpython/commit/17294680167d4b61dbf3d705f07b213b7c58e2dd
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 23, 2025https://github.com/python/cpython/pull/134519#issuecomment-2903889932
GH-134573https://github.com/python/cpython/pull/134573
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/134519
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
May 23, 2025https://github.com/python/cpython/pull/134519#event-17787026647
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 23, 2025https://github.com/python/cpython/pull/134519#issuecomment-2903890148
GH-134574https://github.com/python/cpython/pull/134574
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/134519
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
May 23, 2025https://github.com/python/cpython/pull/134519#event-17787027968
hugovkhttps://github.com/hugovk
May 23, 2025 https://github.com/python/cpython/pull/134519#ref-commit-896b745
https://github.com/miss-islington
https://github.com/blaisep
[3.14]https://github.com/python/cpython/commit/896b745a7a191c144c27893933b8bf57b4fc77a9
gh-106318https://github.com/python/cpython/issues/106318
: Add example forhttps://github.com/python/cpython/commit/896b745a7a191c144c27893933b8bf57b4fc77a9
str.count()https://github.com/python/cpython/commit/896b745a7a191c144c27893933b8bf57b4fc77a9
(https://github.com/python/cpython/commit/896b745a7a191c144c27893933b8bf57b4fc77a9
GH-134519https://github.com/python/cpython/pull/134519
) (https://github.com/python/cpython/commit/896b745a7a191c144c27893933b8bf57b4fc77a9
#134574https://github.com/python/cpython/pull/134574
)https://github.com/python/cpython/commit/896b745a7a191c144c27893933b8bf57b4fc77a9
896b745https://github.com/python/cpython/commit/896b745a7a191c144c27893933b8bf57b4fc77a9
hugovkhttps://github.com/hugovk
May 23, 2025 https://github.com/python/cpython/pull/134519#ref-commit-1dbb644
https://github.com/miss-islington
https://github.com/blaisep
[3.13]https://github.com/python/cpython/commit/1dbb644a5b458aebc48022d2c28d16dfd8ae0d73
gh-106318https://github.com/python/cpython/issues/106318
: Add example forhttps://github.com/python/cpython/commit/1dbb644a5b458aebc48022d2c28d16dfd8ae0d73
str.count()https://github.com/python/cpython/commit/1dbb644a5b458aebc48022d2c28d16dfd8ae0d73
(https://github.com/python/cpython/commit/1dbb644a5b458aebc48022d2c28d16dfd8ae0d73
GH-134519https://github.com/python/cpython/pull/134519
) (https://github.com/python/cpython/commit/1dbb644a5b458aebc48022d2c28d16dfd8ae0d73
#134573https://github.com/python/cpython/pull/134573
)https://github.com/python/cpython/commit/1dbb644a5b458aebc48022d2c28d16dfd8ae0d73
1dbb644https://github.com/python/cpython/commit/1dbb644a5b458aebc48022d2c28d16dfd8ae0d73
Pranjal095https://github.com/Pranjal095
Jul 12, 2025 https://github.com/python/cpython/pull/134519#ref-commit-62f175b
https://github.com/blaisep
https://github.com/Pranjal095
pythongh-106318https://github.com/python/cpython/issues/106318
: Add example forhttps://github.com/Pranjal095/cpython/commit/62f175b1b14e89db5a47b7cc8cbec02b2cac76a2
str.count()https://github.com/Pranjal095/cpython/commit/62f175b1b14e89db5a47b7cc8cbec02b2cac76a2
(https://github.com/Pranjal095/cpython/commit/62f175b1b14e89db5a47b7cc8cbec02b2cac76a2
python#134519https://github.com/python/cpython/pull/134519
)https://github.com/Pranjal095/cpython/commit/62f175b1b14e89db5a47b7cc8cbec02b2cac76a2
62f175bhttps://github.com/Pranjal095/cpython/commit/62f175b1b14e89db5a47b7cc8cbec02b2cac76a2
taegyunkimhttps://github.com/taegyunkim
Aug 4, 2025 https://github.com/python/cpython/pull/134519#ref-commit-a950a4f
https://github.com/blaisep
https://github.com/taegyunkim
pythongh-106318https://github.com/python/cpython/issues/106318
: Add example forhttps://github.com/taegyunkim/cpython/commit/a950a4fa0243bf59d49997e9195d7de2d7a2eab5
str.count()https://github.com/taegyunkim/cpython/commit/a950a4fa0243bf59d49997e9195d7de2d7a2eab5
(https://github.com/taegyunkim/cpython/commit/a950a4fa0243bf59d49997e9195d7de2d7a2eab5
python#134519https://github.com/python/cpython/pull/134519
)https://github.com/taegyunkim/cpython/commit/a950a4fa0243bf59d49997e9195d7de2d7a2eab5
a950a4fhttps://github.com/taegyunkim/cpython/commit/a950a4fa0243bf59d49997e9195d7de2d7a2eab5
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%2F134519
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
Docs PRs https://github.com/orgs/python/projects/50
Add examples to docs for str methods https://github.com/python/cpython/issues/106318
Please reload this pagehttps://github.com/python/cpython/pull/134519
https://github.com/blaisep
https://github.com/hugovk
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.