-
Notifications
You must be signed in to change notification settings - Fork 26.3k
add batch of string ops #20826
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
add batch of string ops #20826
Conversation
| # type: (str) -> Tuple[str, str] | ||
| return s.upper(), s.lower() | ||
|
|
||
| inputs = ["", "12a", "!B", "12", "a", "B", "aB", "$12", "B12", "AB ", |
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.
needs a >1 char string of lowers: "aaaa" or something
facebook-github-bot
left a comment
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.
@eellison has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
test failures unrelated |
|
This broke Windows. |
|
yep fix out here #20842 |
facebook-github-bot
left a comment
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.
@eellison is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
First batch of #20769, handles
isupper,islower,isdigit,isspace,isalnum,isalpha,upper,lower