René's URL Explorer Experiment


Title: Add examples to docs for str methods · Issue #106318 · python/cpython · GitHub

Open Graph Title: Add examples to docs for str methods · Issue #106318 · python/cpython

X Title: Add examples to docs for str methods · Issue #106318 · python/cpython

Description: @adorilson already opened a PR for this over at #105670. If people have higher level feedback on the suggestion, this issue is a good place to do it. Maybe cc @CAM-Gerlach in case you're interested :-) Linked PRs gh-105670 gh-111743 gh-1...

Open Graph Description: @adorilson already opened a PR for this over at #105670. If people have higher level feedback on the suggestion, this issue is a good place to do it. Maybe cc @CAM-Gerlach in case you're interested...

X Description: @adorilson already opened a PR for this over at #105670. If people have higher level feedback on the suggestion, this issue is a good place to do it. Maybe cc @CAM-Gerlach in case you're intere...

Opengraph URL: https://github.com/python/cpython/issues/106318

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add examples to docs for str methods","articleBody":"@adorilson already opened a PR for this over at https://github.com/python/cpython/pull/105670. If people have higher level feedback on the suggestion, this issue is a good place to do it.\r\n\r\nMaybe cc @CAM-Gerlach in case you're interested :-)\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-105670\n* gh-111743\n* gh-119445\n* gh-134272\n* gh-134518\n* gh-134519\n* gh-134520\n* gh-134523\n* gh-134525\n* gh-134571\n* gh-134572\n* gh-134573\n* gh-134574\n* gh-134529\n* gh-135457\n* gh-135458\n* gh-135459\n* gh-135460\n* gh-135476\n* gh-135477\n* gh-137018\n* gh-137023\n* gh-137550\n* gh-137557\n* gh-137558\n* gh-137559\n* gh-138174\n* gh-138175\n* gh-140043\n* gh-140046\n* gh-140113\n* gh-140114\n* gh-140314\n* gh-140315\n* gh-141893\n* gh-141894\n* gh-141898\n* gh-141899\n* gh-141901\n* gh-141902\n* gh-141903\n* gh-141904\n* gh-141905\n* gh-141906\n* gh-142154\n* gh-142680\n* gh-142716\n* gh-142715\n* gh-142719\n* gh-142802\n* gh-142803\n* gh-142822\n* gh-142823\n* gh-143483\n* gh-143484\n* gh-143501\n* gh-143502\n* gh-143524\n* gh-143525\n* gh-143579\n* gh-143580\n* gh-143581\n* gh-143582\n* gh-143614\n* gh-143615\n* gh-143616\n* gh-143617\n* gh-143788\n* gh-143789\n* gh-143887\n* gh-143890\n* gh-143891\n* gh-143893\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/hauntsaninja","@type":"Person","name":"hauntsaninja"},"datePublished":"2023-07-01T20:03:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/106318/cpython/issues/106318"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:49662247-29cf-833b-b79d-dc52fd0d610b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAFF0:15FF28:4275B6:5DA494:696A15A7
html-safe-nonce5b8052981b7dfda1adea1e7c05eb4fcaa91cd395ffc0fba971d9d717bfaf5583
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkYwOjE1RkYyODo0Mjc1QjY6NURBNDk0OjY5NkExNUE3IiwidmlzaXRvcl9pZCI6IjUyNDY3MDQ0ODk3NTcwMjE2MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac014aa4525abdb3b9326e87b3a369885145e38ce801ce2283b3ec53cb85e3335c
hovercard-subject-tagissue:1784190846
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/106318/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d806b246104757acf833fd6cabde93ceaab2dfaadbf0095c40ce14011021718c/python/cpython/issues/106318
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d806b246104757acf833fd6cabde93ceaab2dfaadbf0095c40ce14011021718c/python/cpython/issues/106318
og:image:alt@adorilson already opened a PR for this over at #105670. If people have higher level feedback on the suggestion, this issue is a good place to do it. Maybe cc @CAM-Gerlach in case you're interested...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehauntsaninja
hostnamegithub.com
expected-hostnamegithub.com
None34a52bd10bd674f68e5c1b6b74413b79bf2ca20c551055ace3f7cdd112803923
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
releasee8bd37502700f365b18a4d39acf7cb7947e11b1a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/106318#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F106318
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%2Fissues%2F106318
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/106318
Reloadhttps://github.com/python/cpython/issues/106318
Reloadhttps://github.com/python/cpython/issues/106318
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/106318
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/issues/106318
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
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/106318
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/106318
Add examples to docs for str methodshttps://github.com/python/cpython/issues/106318#top
#134525https://github.com/python/cpython/pull/134525
docsDocumentation in the Doc dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22docs%22
https://github.com/hauntsaninja
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Jul 1, 2023https://github.com/python/cpython/issues/106318#issue-1784190846
@adorilsonhttps://github.com/adorilson
#105670https://github.com/python/cpython/pull/105670
@CAM-Gerlachhttps://github.com/CAM-Gerlach
gh-106318: Add examples to str method entries #105670https://github.com/python/cpython/pull/105670
gh-106318: Add examples for the str methods in collapsible sections #111743https://github.com/python/cpython/pull/111743
gh-106318: Add string method examples #119445https://github.com/python/cpython/pull/119445
gh-106318: Add an example for str.capitalize() #134272https://github.com/python/cpython/pull/134272
gh-106318: Add example for str.center() #134518https://github.com/python/cpython/pull/134518
gh-106318: Add example for str.count() #134519https://github.com/python/cpython/pull/134519
gh-106318: Add example for str.encode() #134520https://github.com/python/cpython/pull/134520
gh-106318: Add example for str.endswith() #134523https://github.com/python/cpython/pull/134523
gh-106318: Add example for str.expandtabs() #134525https://github.com/python/cpython/pull/134525
[3.14] gh-106318: Add example for str.center() (GH-134518) #134571https://github.com/python/cpython/pull/134571
[3.13] gh-106318: Add example for str.center() (GH-134518) #134572https://github.com/python/cpython/pull/134572
[3.13] gh-106318: Add example for str.count() (GH-134519) #134573https://github.com/python/cpython/pull/134573
[3.14] gh-106318: Add example for str.count() (GH-134519) #134574https://github.com/python/cpython/pull/134574
gh-106318: Add example for str.find() #134529https://github.com/python/cpython/pull/134529
[3.14] gh-106318: Add example for str.encode() (GH-134520) #135457https://github.com/python/cpython/pull/135457
[3.13] gh-106318: Add example for str.encode() (GH-134520) #135458https://github.com/python/cpython/pull/135458
[3.14] gh-106318: Add example for str.endswith() (GH-134523) #135459https://github.com/python/cpython/pull/135459
[3.13] gh-106318: Add example for str.endswith() (GH-134523) #135460https://github.com/python/cpython/pull/135460
[3.14] gh-106318: Add example for str.expandtabs() (GH-134525) #135476https://github.com/python/cpython/pull/135476
[3.13] gh-106318: Add example for str.expandtabs() (GH-134525) #135477https://github.com/python/cpython/pull/135477
gh-106318: Add example for str.format() #137018https://github.com/python/cpython/pull/137018
gh-106318: Add example for str.index()  #137023https://github.com/python/cpython/pull/137023
gh-106318: Add example for str.isalnum() #137550https://github.com/python/cpython/pull/137550
gh-106318: Add example for str.isalpha() #137557https://github.com/python/cpython/pull/137557
gh-106318: Add example for str.isascii() #137558https://github.com/python/cpython/pull/137558
gh-106318: Add example for str.isdecimal() #137559https://github.com/python/cpython/pull/137559
[3.14] gh-106318: Add example for str.find() (GH-134529) #138174https://github.com/python/cpython/pull/138174
[3.13] gh-106318: Add example for str.find() (GH-134529) #138175https://github.com/python/cpython/pull/138175
gh-106318: Add example for str.isprintable()  #140043https://github.com/python/cpython/pull/140043
gh-106318: Add examples for str.istitle()  #140046https://github.com/python/cpython/pull/140046
[3.14] gh-106318: Add examples for str.istitle() (GH-140046) #140113https://github.com/python/cpython/pull/140113
[3.13] gh-106318: Add examples for str.istitle() (GH-140046) #140114https://github.com/python/cpython/pull/140114
gh-106318: Add examples for join() #140314https://github.com/python/cpython/pull/140314
gh-106318: Add examples for str.join() #140315https://github.com/python/cpython/pull/140315
[3.14] gh-106318: Add example for str.isdecimal() (GH-137559) #141893https://github.com/python/cpython/pull/141893
[3.13] gh-106318: Add example for str.isdecimal() (GH-137559) #141894https://github.com/python/cpython/pull/141894
[3.14] gh-106318: Add example for str.isascii() (GH-137558) #141898https://github.com/python/cpython/pull/141898
[3.13] gh-106318: Add example for str.isascii() (GH-137558) #141899https://github.com/python/cpython/pull/141899
[3.14] gh-106318: Add example for str.isalpha() (GH-137557) #141901https://github.com/python/cpython/pull/141901
[3.13] gh-106318: Add example for str.isalpha() (GH-137557) #141902https://github.com/python/cpython/pull/141902
[3.13] gh-106318: Add example for str.format() (GH-137018) #141903https://github.com/python/cpython/pull/141903
[3.14] gh-106318: Add example for str.format() (GH-137018) #141904https://github.com/python/cpython/pull/141904
[3.13] gh-106318: Add examples for str.join() (GH-140315) #141905https://github.com/python/cpython/pull/141905
[3.14] gh-106318: Add examples for str.join() (GH-140315) #141906https://github.com/python/cpython/pull/141906
gh-106318: Add examples for str.casefold() and str.lower() methods #142154https://github.com/python/cpython/pull/142154
gh-106318: Add examples for str.isnumeric() #142680https://github.com/python/cpython/pull/142680
[3.13] gh-106318: Add examples for str.isnumeric() (GH-142680) #142716https://github.com/python/cpython/pull/142716
[3.14] gh-106318: Add examples for str.isnumeric() (GH-142680) #142715https://github.com/python/cpython/pull/142715
gh-106318: Add examples for str.ljust() method  #142719https://github.com/python/cpython/pull/142719
[3.14] gh-106318: Add examples for str.ljust() method (GH-142719) #142802https://github.com/python/cpython/pull/142802
[3.13] gh-106318: Add examples for str.ljust() method (GH-142719) #142803https://github.com/python/cpython/pull/142803
gh-106318: Add example for str.maketrans() #142822https://github.com/python/cpython/pull/142822
gh-106318: Add examples for str.partition() method #142823https://github.com/python/cpython/pull/142823
[3.14] gh-106318: Add examples for str.isprintable() (GH-140043) #143483https://github.com/python/cpython/pull/143483
[3.13] gh-106318: Add examples for str.isprintable() (GH-140043) #143484https://github.com/python/cpython/pull/143484
[3.13] gh-106318: Add example for str.index() (GH-137023) #143501https://github.com/python/cpython/pull/143501
[3.14] gh-106318: Add example for str.index() (GH-137023) #143502https://github.com/python/cpython/pull/143502
[3.14] gh-106318: Add examples for str.casefold() and str.lower() methods (GH-142154) #143524https://github.com/python/cpython/pull/143524
[3.13] gh-106318: Add examples for str.casefold() and str.lower() methods (GH-142154) #143525https://github.com/python/cpython/pull/143525
gh-106318: Add doctest role and 'See also' for str.removeprefix() #143579https://github.com/python/cpython/pull/143579
gh-106318: Improve str.removeprefix() and str.removesuffix() docs #143580https://github.com/python/cpython/pull/143580
gh-106318: Add examples for str.replace() method #143581https://github.com/python/cpython/pull/143581
gh-106318: Add examples for str.rfind() method #143582https://github.com/python/cpython/pull/143582
[3.14] gh-106318: Improve str.removeprefix() and str.removesuffix() docs (GH-143580) #143614https://github.com/python/cpython/pull/143614
[3.13] gh-106318: Improve str.removeprefix() and str.removesuffix() docs (GH-143580) #143615https://github.com/python/cpython/pull/143615
[3.14] gh-106318: Add examples for str.rfind() method (GH-143582) #143616https://github.com/python/cpython/pull/143616
[3.13] gh-106318: Add examples for str.rfind() method (GH-143582) #143617https://github.com/python/cpython/pull/143617
[3.13] gh-106318: Add examples for str.replace() method (GH-143581) #143788https://github.com/python/cpython/pull/143788
[3.14] gh-106318: Add examples for str.replace() method (GH-143581) #143789https://github.com/python/cpython/pull/143789
gh-106318: Add example for str.rindex() method #143887https://github.com/python/cpython/pull/143887
gh-106318: Add examples for str.rjust() method #143890https://github.com/python/cpython/pull/143890
gh-106318: Add examples for str.rpartition() method #143891https://github.com/python/cpython/pull/143891
gh-106318: Improve str.rstrip() method doc #143893https://github.com/python/cpython/pull/143893
docsDocumentation in the Doc dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22docs%22
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.