diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2023-05-30 09:27:42 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2023-08-02 13:35:29 -0400 |
commit | cec3edc08a6cd6a89761c49292ba6a3bace8b3c1 (patch) | |
tree | ca8f4504ead8fe875ef582299b2cbb9f07d85688 /docs/yaml/elementary | |
parent | 465ad6d261e2733c60c3a066eebabee72f14346a (diff) | |
download | meson-cec3edc08a6cd6a89761c49292ba6a3bace8b3c1.zip meson-cec3edc08a6cd6a89761c49292ba6a3bace8b3c1.tar.gz meson-cec3edc08a6cd6a89761c49292ba6a3bace8b3c1.tar.bz2 |
Unify message(), format() and fstring formatting
Share a common function to convert objects to display strings for
consistency.
While at it, also add support for formatting user options.
Diffstat (limited to 'docs/yaml/elementary')
-rw-r--r-- | docs/yaml/elementary/str.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/yaml/elementary/str.yml b/docs/yaml/elementary/str.yml index 7748121..83ab3dd 100644 --- a/docs/yaml/elementary/str.yml +++ b/docs/yaml/elementary/str.yml @@ -14,6 +14,10 @@ methods: See [the Meson syntax entry](Syntax.md#string-formatting) for more information. + + *Since 1.3.0* values other than strings, integers, bools, options, + dictionaries and lists thereof are deprecated. They were previously printing + the internal representation of the raw Python object. example: | ```meson template = 'string: @0@, number: @1@, bool: @2@' |