summaryrefslogtreecommitdiff
path: root/docs/yaml/elementary
diff options
context:
space:
mode:
Diffstat (limited to 'docs/yaml/elementary')
-rw-r--r--docs/yaml/elementary/str.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/yaml/elementary/str.yml b/docs/yaml/elementary/str.yml
index dca6382a2..7c48c5d23 100644
--- a/docs/yaml/elementary/str.yml
+++ b/docs/yaml/elementary/str.yml
@@ -61,7 +61,10 @@ methods:
# str.strip()
- name: strip
- description: Removes leading/ending spaces and newlines from the string.
+ description: |
+ Removes leading/ending characters from the string.
+
+ By default the characters to remove are spaces and newlines.
returns: str
example: |
```meson
@@ -75,7 +78,8 @@ methods:
strip_chars:
type: str
since: 0.43.0
- description: All characters in this string will be stripped.
+ description:
+ description: Instead of whitespace, strip all the characters in this string.
# str.to_lower()
- name: to_lower