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
Update syntax for second parameter in split() method #3441
Update syntax for second parameter in split() method #3441
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@christina-ml Just a couple of edits. Please update the entry, and tag me when you've finished the changes. Thanks
Co-authored-by: caupolicandiaz <caupolicandiaz@gmail.com>
Co-authored-by: caupolicandiaz <caupolicandiaz@gmail.com>
|
@caupolicandiaz I updated the entry with the suggested changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@christina-ml This is ready for a second review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@christina-ml, @caupolicandiaz looks good to me.
|
👋 @christina-ml 🎉 Your contribution(s) can be seen here: https://www.codecademy.com/resources/docs/python/strings/split Please note it may take a little while for changes to become visible. |
Description
Closes #3402
This edit is for the Python Strings: Split method located under the file path docs/content/python/concepts/strings/terms/split/split.md
Edit the syntax section to clarify that the second parameter in the split() method is the maximum number of splits. Also include the default when a number isn't given.
My changes:
number_of_itemstomaxsplitfor clarification as to what this parameter does. It is not a count for the number of items, instead it sets a maximum number of times the string can be split.-1Type of Change
Checklist
mainbranch.