From 2a7982dc38b2559ee952724bf85946f33469169d Mon Sep 17 00:00:00 2001 From: hai shi Date: Thu, 20 Jun 2019 02:44:34 +0800 Subject: [PATCH 1/4] update the nb_index's type --- Doc/c-api/typeobj.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index e0ea9b9b5f9663..e820b2a32db61a 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -285,7 +285,7 @@ sub-slots +---------------------------------------------------------+-----------------------------------+--------------+ | :c:member:`~PyNumberMethods.nb_inplace_true_divide` | :c:type:`binaryfunc` | __truediv__ | +---------------------------------------------------------+-----------------------------------+--------------+ - | :c:member:`~PyNumberMethods.nb_index` | :c:type:`binaryfunc` | __index__ | + | :c:member:`~PyNumberMethods.nb_index` | :c:type:`unaryfunc` | __index__ | +---------------------------------------------------------+-----------------------------------+--------------+ | :c:member:`~PyNumberMethods.nb_matrix_multiply` | :c:type:`binaryfunc` | __matmul__ | | | | __rmatmul__ | From 5f302d98ee7b9a164cb847a8ab392add1c20300c Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" Date: Wed, 19 Jun 2019 18:49:23 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../next/Documentation/2019-06-19-18-49-22.bpo-37342.sBr2GZ.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Documentation/2019-06-19-18-49-22.bpo-37342.sBr2GZ.rst diff --git a/Misc/NEWS.d/next/Documentation/2019-06-19-18-49-22.bpo-37342.sBr2GZ.rst b/Misc/NEWS.d/next/Documentation/2019-06-19-18-49-22.bpo-37342.sBr2GZ.rst new file mode 100644 index 00000000000000..00837704ce793b --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2019-06-19-18-49-22.bpo-37342.sBr2GZ.rst @@ -0,0 +1 @@ +Fix a type Error in typeobj.rst \ No newline at end of file From 0adc145c875bacc298b3d948f48759be742f25a0 Mon Sep 17 00:00:00 2001 From: hai shi Date: Thu, 20 Jun 2019 09:42:13 +0800 Subject: [PATCH 3/4] add a space in doc --- Doc/c-api/typeobj.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index e820b2a32db61a..f2491319cee522 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -285,7 +285,7 @@ sub-slots +---------------------------------------------------------+-----------------------------------+--------------+ | :c:member:`~PyNumberMethods.nb_inplace_true_divide` | :c:type:`binaryfunc` | __truediv__ | +---------------------------------------------------------+-----------------------------------+--------------+ - | :c:member:`~PyNumberMethods.nb_index` | :c:type:`unaryfunc` | __index__ | + | :c:member:`~PyNumberMethods.nb_index` | :c:type:`unaryfunc` | __index__ | +---------------------------------------------------------+-----------------------------------+--------------+ | :c:member:`~PyNumberMethods.nb_matrix_multiply` | :c:type:`binaryfunc` | __matmul__ | | | | __rmatmul__ | From 81be50bd885f0d75367417e24763adcfa6e0f2e2 Mon Sep 17 00:00:00 2001 From: Mariatta Date: Wed, 19 Jun 2019 20:25:33 -0700 Subject: [PATCH 4/4] News file not needed. --- .../next/Documentation/2019-06-19-18-49-22.bpo-37342.sBr2GZ.rst | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Misc/NEWS.d/next/Documentation/2019-06-19-18-49-22.bpo-37342.sBr2GZ.rst diff --git a/Misc/NEWS.d/next/Documentation/2019-06-19-18-49-22.bpo-37342.sBr2GZ.rst b/Misc/NEWS.d/next/Documentation/2019-06-19-18-49-22.bpo-37342.sBr2GZ.rst deleted file mode 100644 index 00837704ce793b..00000000000000 --- a/Misc/NEWS.d/next/Documentation/2019-06-19-18-49-22.bpo-37342.sBr2GZ.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a type Error in typeobj.rst \ No newline at end of file