Add versionadded to the new json_pack() format specifiers
This commit is contained in:
parent
641002da37
commit
e4d6a9f6f4
@ -1082,14 +1082,20 @@ arguments.
|
||||
``s#`` (string) [const char \*, int]
|
||||
Convert a UTF-8 buffer of a given length to a JSON string.
|
||||
|
||||
.. versionadded:: 2.5
|
||||
|
||||
``+`` [const char \*]
|
||||
Like ``s``, but concatenate to the previous string. Only valid
|
||||
after ``s``, ``s#``, ``+`` or ``+#``.
|
||||
|
||||
.. versionadded:: 2.5
|
||||
|
||||
``+#`` [const char \*, int]
|
||||
Like ``s#``, but concatenate to the previous string. Only valid
|
||||
after ``s``, ``s#``, ``+`` or ``+#``.
|
||||
|
||||
.. versionadded:: 2.5
|
||||
|
||||
``n`` (null)
|
||||
Output a JSON null value. No argument is consumed.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user