aboutsummaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2020-10-19 18:17:50 -0400
committerGitHub <noreply@github.com>2020-10-19 23:17:50 +0100
commit3a8fdb28794b2f19f6c8464378fb8b46bce1f5f4 (patch)
tree860c455643cb15787c0b2c4de90dec28d96f9d2e /PC
parentbpo-41217: Fix incorrect note in the asyncio.create_subprocess_shell() docs (... (diff)
downloadcpython-3a8fdb28794b2f19f6c8464378fb8b46bce1f5f4.tar.gz
cpython-3a8fdb28794b2f19f6c8464378fb8b46bce1f5f4.tar.bz2
cpython-3a8fdb28794b2f19f6c8464378fb8b46bce1f5f4.zip
bpo-41784: make PyUnicode_AsUTF8AndSize part of the limited API (GH-22252)
Diffstat (limited to 'PC')
-rw-r--r--PC/python3dll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c
index 153ba612b78..b9b229ea67d 100644
--- a/PC/python3dll.c
+++ b/PC/python3dll.c
@@ -568,6 +568,7 @@ EXPORT_FUNC(PyUnicode_AsUCS4Copy)
EXPORT_FUNC(PyUnicode_AsUnicodeEscapeString)
EXPORT_FUNC(PyUnicode_AsUTF16String)
EXPORT_FUNC(PyUnicode_AsUTF32String)
+EXPORT_FUNC(PyUnicode_AsUTF8AndSize)
EXPORT_FUNC(PyUnicode_AsUTF8String)
EXPORT_FUNC(PyUnicode_AsWideChar)
EXPORT_FUNC(PyUnicode_AsWideCharString)