aboutsummaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-05-22 20:59:42 +0300
committerGitHub <noreply@github.com>2018-05-22 20:59:42 +0300
commit4e29f566e8821c09d8274eadcdd355e8b1284b8b (patch)
treebb5d17d6b0bce38c722017a42ff1a18afcce53f7 /PC
parentbpo-33592: Document the C API in PEP 567 (contextvars) (GH-7033) (diff)
downloadcpython-4e29f566e8821c09d8274eadcdd355e8b1284b8b.tar.gz
cpython-4e29f566e8821c09d8274eadcdd355e8b1284b8b.tar.bz2
cpython-4e29f566e8821c09d8274eadcdd355e8b1284b8b.zip
Add missed details of the C API introduced in 3.7. (GH-7047)
* Set the limited API version for PyImport_GetModule and PyOS_*Fork functions. * Add PyImport_GetModule and Py_UTF8Mode in PC/python3.def. * Add several functions in Doc/data/refcounts.dat.
Diffstat (limited to 'PC')
-rw-r--r--PC/python3.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/PC/python3.def b/PC/python3.def
index fb36f300ae6..48a2d07aab1 100644
--- a/PC/python3.def
+++ b/PC/python3.def
@@ -284,6 +284,7 @@ EXPORTS
PyImport_GetImporter=python38.PyImport_GetImporter
PyImport_GetMagicNumber=python38.PyImport_GetMagicNumber
PyImport_GetMagicTag=python38.PyImport_GetMagicTag
+ PyImport_GetModule=python38.PyImport_GetModule
PyImport_GetModuleDict=python38.PyImport_GetModuleDict
PyImport_Import=python38.PyImport_Import
PyImport_ImportFrozenModule=python38.PyImport_ImportFrozenModule
@@ -757,6 +758,7 @@ EXPORTS
Py_SetPythonHome=python38.Py_SetPythonHome
Py_SetRecursionLimit=python38.Py_SetRecursionLimit
Py_SymtableString=python38.Py_SymtableString
+ Py_UTF8Mode=python38.Py_UTF8Mode DATA
Py_VaBuildValue=python38.Py_VaBuildValue
_PyArg_ParseTupleAndKeywords_SizeT=python38._PyArg_ParseTupleAndKeywords_SizeT
_PyArg_ParseTuple_SizeT=python38._PyArg_ParseTuple_SizeT