aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-09-20 13:39:24 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-09-20 13:39:24 +0530
commit6c38b1f281c90a7df8fad092d15fa678ca97b8ba (patch)
tree96e789d81c3d73681f31e82da2a395b696d9540e
parentef0501fc7d52ecd265ae60696be40eebf458e71e (diff)
downloadmeson-6c38b1f281c90a7df8fad092d15fa678ca97b8ba.zip
meson-6c38b1f281c90a7df8fad092d15fa678ca97b8ba.tar.gz
meson-6c38b1f281c90a7df8fad092d15fa678ca97b8ba.tar.bz2
docs: Document the new str.strip() feature
-rw-r--r--docs/markdown/Reference-manual.md4
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)