DocData: Fix serialization of Variant default values

Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
This commit is contained in:
Rémi Verschelde 2020-03-09 10:51:17 +01:00
parent da1f80c1f2
commit 788765709d
9 changed files with 24 additions and 23 deletions

View file

@ -440,7 +440,7 @@
</return>
<argument index="0" name="values" type="Variant">
</argument>
<argument index="1" name="placeholder" type="String" default="{_}">
<argument index="1" name="placeholder" type="String" default="&quot;{_}&quot;">
</argument>
<description>
Formats the string by replacing all occurrences of [code]placeholder[/code] with [code]values[/code].
@ -586,7 +586,7 @@
<method name="is_valid_hex_number">
<return type="bool">
</return>
<argument index="0" name="with_prefix" type="bool" default="False">
<argument index="0" name="with_prefix" type="bool" default="false">
</argument>
<description>
Returns [code]true[/code] if this string contains a valid hexadecimal number. If [code]with_prefix[/code] is [code]true[/code], then a validity of the hexadecimal number is determined by [code]0x[/code] prefix, for instance: [code]0xDEADC0DE[/code].
@ -810,7 +810,7 @@
</return>
<argument index="0" name="delimiter" type="String">
</argument>
<argument index="1" name="allow_empty" type="bool" default="True">
<argument index="1" name="allow_empty" type="bool" default="true">
</argument>
<argument index="2" name="maxsplit" type="int" default="0">
</argument>
@ -879,7 +879,7 @@
</return>
<argument index="0" name="delimiter" type="String">
</argument>
<argument index="1" name="allow_empty" type="bool" default="True">
<argument index="1" name="allow_empty" type="bool" default="true">
</argument>
<argument index="2" name="maxsplit" type="int" default="0">
</argument>
@ -901,7 +901,7 @@
</return>
<argument index="0" name="delimiter" type="String">
</argument>
<argument index="1" name="allow_empty" type="bool" default="True">
<argument index="1" name="allow_empty" type="bool" default="true">
</argument>
<description>
Splits the string in floats by using a delimiter string and returns an array of the substrings.
@ -911,9 +911,9 @@
<method name="strip_edges">
<return type="String">
</return>
<argument index="0" name="left" type="bool" default="True">
<argument index="0" name="left" type="bool" default="true">
</argument>
<argument index="1" name="right" type="bool" default="True">
<argument index="1" name="right" type="bool" default="true">
</argument>
<description>
Returns a copy of the string stripped of any non-printable character (including tabulations, spaces and line breaks) at the beginning and the end. The optional arguments are used to toggle stripping on the left and right edges respectively.