From 38a17d0752781c70fd971f372ddc8d3caf5ded88 Mon Sep 17 00:00:00 2001 From: "Miss Skeleton (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 20 Oct 2020 05:30:04 -0700 Subject: [PATCH] bpo-41726: Update the refcounts info of PyType_FromModuleAndSpec in refcounts.dat (GH-22112) (GH-22808) Update refcounts info of PyType_FromModuleAndSpec in refcounts.dat (cherry picked from commit 1e2f051a6127904cfee5f9e4021dd6e4a4d51c0f) Co-authored-by: Hai Shi --- Doc/data/refcounts.dat | 5 +++++ .../Documentation/2020-09-08-16-57-09.bpo-41726.g0UXrn.rst | 1 + 2 files changed, 6 insertions(+) create mode 100644 Misc/NEWS.d/next/Documentation/2020-09-08-16-57-09.bpo-41726.g0UXrn.rst diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat index 4dacbe201d22..aac135113ad7 100644 --- a/Doc/data/refcounts.dat +++ b/Doc/data/refcounts.dat @@ -2306,6 +2306,11 @@ PyType_CheckExact:PyObject*:o:0: PyType_FromSpec:PyObject*::+1: PyType_FromSpec:PyType_Spec*:spec:: +PyType_FromModuleAndSpec:PyObject*::+1: +PyType_FromModuleAndSpec:PyObject*:module:+1: +PyType_FromModuleAndSpec:PyType_Spec*:spec:: +PyType_FromModuleAndSpec:PyObject*:bases:0: + PyType_FromSpecWithBases:PyObject*::+1: PyType_FromSpecWithBases:PyType_Spec*:spec:: PyType_FromSpecWithBases:PyObject*:bases:0: diff --git a/Misc/NEWS.d/next/Documentation/2020-09-08-16-57-09.bpo-41726.g0UXrn.rst b/Misc/NEWS.d/next/Documentation/2020-09-08-16-57-09.bpo-41726.g0UXrn.rst new file mode 100644 index 000000000000..1079a757c054 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2020-09-08-16-57-09.bpo-41726.g0UXrn.rst @@ -0,0 +1 @@ +Update the refcounts info of ``PyType_FromModuleAndSpec``. -- 2.47.3