summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS.d/next/Windows/2021-02-10-04-16-51.bpo-43155.O1tURk.rst1
-rw-r--r--PC/python3dll.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Windows/2021-02-10-04-16-51.bpo-43155.O1tURk.rst b/Misc/NEWS.d/next/Windows/2021-02-10-04-16-51.bpo-43155.O1tURk.rst
new file mode 100644
index 0000000..2eeef2b
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2021-02-10-04-16-51.bpo-43155.O1tURk.rst
@@ -0,0 +1 @@
+:c:func:`PyCMethod_New` is now present in ``python3.lib``.
diff --git a/PC/python3dll.c b/PC/python3dll.c
index 542853a..3f87b70 100644
--- a/PC/python3dll.c
+++ b/PC/python3dll.c
@@ -128,6 +128,7 @@ EXPORT_FUNC(PyCFunction_GetFunction)
EXPORT_FUNC(PyCFunction_GetSelf)
EXPORT_FUNC(PyCFunction_New)
EXPORT_FUNC(PyCFunction_NewEx)
+EXPORT_FUNC(PyCMethod_New)
EXPORT_FUNC(PyCodec_BackslashReplaceErrors)
EXPORT_FUNC(PyCodec_Decode)
EXPORT_FUNC(PyCodec_Decoder)