summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-20 12:30:04 (GMT)
committerGitHub <noreply@github.com>2020-10-20 12:30:04 (GMT)
commit38a17d0752781c70fd971f372ddc8d3caf5ded88 (patch)
tree81b7f066fa6739101af000d9e5dd630f65338fe0
parentbd9d76bbbb9eb226d99e186dae39e06ba8977485 (diff)
downloadcpython-38a17d0752781c70fd971f372ddc8d3caf5ded88.zip
cpython-38a17d0752781c70fd971f372ddc8d3caf5ded88.tar.gz
cpython-38a17d0752781c70fd971f372ddc8d3caf5ded88.tar.bz2
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 <shihai1992@gmail.com>
-rw-r--r--Doc/data/refcounts.dat5
-rw-r--r--Misc/NEWS.d/next/Documentation/2020-09-08-16-57-09.bpo-41726.g0UXrn.rst1
2 files changed, 6 insertions, 0 deletions
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat
index 4dacbe2..aac1351 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 0000000..1079a75
--- /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``.