From e4d6a9f6f4f90aa7bb1b5e09d146ac8d2cb3cd1d Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Mon, 23 Sep 2013 09:34:00 +0300 Subject: [PATCH] Add versionadded to the new json_pack() format specifiers --- doc/apiref.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/apiref.rst b/doc/apiref.rst index cfab058..463966b 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -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.