diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-09-20 13:39:24 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-09-20 13:39:24 +0530 |
commit | 6c38b1f281c90a7df8fad092d15fa678ca97b8ba (patch) | |
tree | 96e789d81c3d73681f31e82da2a395b696d9540e | |
parent | ef0501fc7d52ecd265ae60696be40eebf458e71e (diff) | |
download | meson-6c38b1f281c90a7df8fad092d15fa678ca97b8ba.zip meson-6c38b1f281c90a7df8fad092d15fa678ca97b8ba.tar.gz meson-6c38b1f281c90a7df8fad092d15fa678ca97b8ba.tar.bz2 |
docs: Document the new str.strip() feature
-rw-r--r-- | docs/markdown/Reference-manual.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 34b473d..301c693 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1429,7 +1429,9 @@ are immutable, all operations return their results as a new string. - `startswith(string)` returns true if string starts with the string specified as the argument -- `strip()` removes whitespace at the beginning and end of the string +- `strip()` removes whitespace at the beginning and end of the string + *(added 0.43.0)* optionally can take one positional string argument, + and all characters in that string will be stripped - `to_int` returns the string converted to an integer (error if string is not a number) |