-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-106318: Add string method examples #119445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
blaisep
wants to merge
67
commits into
python:main
Choose a base branch
from
blaisep:pr-105670
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+394
−103
Draft
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
5508700
[Doc] Added snippet code to str.join method
adorilson e388d45
[Doc] Added snippet code to str.ljust method
adorilson d8407ba
[Doc] Added snippet code to str.rjust method
adorilson 08b88ef
[Doc] Added 'See also' in str.lstrip and str.rstrip methods from one …
adorilson 52e3a6b
[Doc] Added snippet code to str.maketrans method
adorilson dee059c
[Doc] Added snippet code to str.translate method
adorilson 1671497
[Doc] Added snippet code to str.partition method
adorilson c832623
[Doc]
8000
Added snippet code to str.replace method
adorilson 0be8170
[Doc] Added snippet code to str.rfind method
adorilson ff65bd2
[Doc] Added snippet code to str.rindex method
adorilson 322c88c
[Doc] Added snippet code to str.rpartition method
adorilson 3a473df
[DOC] minor change
adorilson b653693
[Doc] Added snippet code to str.rsplit method
adorilson 1b412cb
[Doc] Added snippet code to str.startswith method
adorilson fb56441
[Doc] Added snippet code to str.swapcase method
adorilson 04a5212
[Doc] Added snippet code to str.upper method
adorilson 8771775
[DOC] Added snipped code in str.capitalize
adorilson f2e224c
[DOC] Add snippet code in str.casefold and str.lower methods
adorilson 1d39f92
[DOC] Added snippet code in str.center method
adorilson b3a70b6
[DOC] Added snippet code in str.count method
adorilson 37477f8
[DOC] fix typo
adorilson f9a7293
[DOC] Added snippet code in str.encode method
adorilson 2e54cb0
[DOC] Added snippet code to str.endswith method
adorilson 96d9bf6
[DOC] Added snippet code with \n to str.expandtabs method
adorilson d1dc7e0
[DOC] Added snippet code to str.index method
adorilson 8661d8e
[DOC] Added snippet code to str.isalnum method
adorilson 9e1f289
[DOC] Added snippet code in str.isalpha method
adorilson 9e361d8
[DOC] Added snippet code in str.isascii method
adorilson 09a463a
[DOC] Added snippet code to str.isdecimal method
adorilson 641de5c
[Doc] Added snippet code to str.isdigit method
adorilson eae1564
[Doc] Added snippet code to str.islower method
adorilson 58331b8
[Doc] Added snippet code to str.isnumeric method
adorilson d7ce39c
[Doc] Added snippet code to str.isprintable method
adorilson b86cefd
[Doc] Added snippet code to str.isspace method
adorilson 3df630c
[Doc] Adde snippet code to str.istitle method
adorilson ae42fea
Minor changes (formatting and typo)
adorilson 4676daa
[Doc] Making lint happy
adorilson 7642f31
Merge branch 'main' into str_methods_2
adorilson de11c93
Update Doc/library/stdtypes.rst
adorilson 1695b93
[DOC] Added some 'see also' to str methods
adorilson ad6b56b
[DOC] Moved 'For example' to the end of the previous paragraph
adorilson e4e1405
[DOC] Putting a space after # in comments on str methods
adorilson 2dfa3f2
[DOC] Fixed inconsistent literal block quoting
adorilson 27cc327
fix other comments
hauntsaninja 13c01d7
Merge branch 'main' into str_methods_2
adorilson 03bef0a
prepare for FF
blaisep 9c8955e
update the worflows files
blaisep e44d39c
prepare for FF
blaisep 925c0be
Use the examples created by @adorilson
blaisep 679eac8
Correct typos in rST formatting
blaisep 098d9f3
Merge pull request #1 from blaisep/pr-105670
blaisep 7e7787e
Merge pull request #2 from blaisep/main
blaisep 031bf40
Apply suggestions from code review
blaisep 08fcf55
Update stdtypes.rst with edits to content
blaisep 1c55459
Update unicode.rst
blaisep 30398db
Update Doc/library/stdtypes.rst
blaisep f76afc9
Remove unrelated, conflicting files.
blaisep a0d7846
Merge remote-tracking branch 'upstream/main' into pr-105670
blaisep c82e92c
Fix trailing space and location of example.
blaisep 4d70dcf
Adjust the placement of examples more meticulously.
blaisep 48bed4c
Update Doc/library/stdtypes.rst
blaisep dce8f2b
Update Doc/library/stdtypes.rst
blaisep 24c1f6a
Update Doc/library/stdtypes.rst
blaisep fb2fe01
WIP update some examples
blaisep 0beabee
Merge branch 'pr-105670' of github.com:blaisep/cpython into pr-105670
blaisep 02b2cd8
WIP Edit and change some examples
blaisep 0dd8138
Extend the example for str.format_map
blaisep File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Minor changes (formatting and typo)
- Loading branch information
commit ae42fead84b96bbdb3ecdd9ed75f1da18b8866bb
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.