-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rstrip considers the argument as a *set* of characters to remove. "accccc_cc".rstrip("_cc") will return "a". `removesuffix` was added to Python 3.9, and in Bazel 5.2.0. https://newreleases.io/project/github/bazelbuild/bazel/release/5.2.0 We could drop Python versions before 3.9, but I opted for this version instead. PiperOrigin-RevId: 468166263 Change-Id: Ie7c9508d04aa57899fbe3c6acea5d420ed971169
- Loading branch information
1 parent
2ec16f5
commit 32aaab0
Showing
1 changed file
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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