summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2021-04-14 14:38:30 (GMT)
committerGitHub <noreply@github.com>2021-04-14 14:38:30 (GMT)
commit92eebf6dd20c541ca5883d010a575fb6ea4a245c (patch)
treeb698d8292a949ef46f80ec0b89394e2ba4e39875 /PC
parent5bf8bf2267cd109970b2d946d43b2e9f71379ba2 (diff)
downloadcpython-92eebf6dd20c541ca5883d010a575fb6ea4a245c.zip
cpython-92eebf6dd20c541ca5883d010a575fb6ea4a245c.tar.gz
cpython-92eebf6dd20c541ca5883d010a575fb6ea4a245c.tar.bz2
bpo-43795: Sort PC/python3dll.c (GH-25312)
Each section is sorted to reduce diffs (review effort) when the file becomes generated. Sort is done with key=str.lower to preserve most of the original order (underscored items first). https://bugs.python.org/issue43795
Diffstat (limited to 'PC')
-rw-r--r--PC/python3dll.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c
index b5735e8..195c653 100644
--- a/PC/python3dll.c
+++ b/PC/python3dll.c
@@ -14,6 +14,8 @@
EXPORT_FUNC(_Py_BuildValue_SizeT)
EXPORT_FUNC(_Py_CheckRecursiveCall)
EXPORT_FUNC(_Py_Dealloc)
+EXPORT_FUNC(_Py_DecRef)
+EXPORT_FUNC(_Py_IncRef)
EXPORT_FUNC(_Py_VaBuildValue_SizeT)
EXPORT_FUNC(_PyArg_Parse_SizeT)
EXPORT_FUNC(_PyArg_ParseTuple_SizeT)
@@ -36,14 +38,12 @@ EXPORT_FUNC(_PyTrash_deposit_object)
EXPORT_FUNC(_PyTrash_destroy_chain)
EXPORT_FUNC(_PyTrash_thread_deposit_object)
EXPORT_FUNC(_PyTrash_thread_destroy_chain)
-EXPORT_FUNC(_Py_IncRef)
-EXPORT_FUNC(_Py_DecRef)
EXPORT_FUNC(Py_AddPendingCall)
EXPORT_FUNC(Py_AtExit)
EXPORT_FUNC(Py_BuildValue)
EXPORT_FUNC(Py_CompileString)
-EXPORT_FUNC(Py_DecRef)
EXPORT_FUNC(Py_DecodeLocale)
+EXPORT_FUNC(Py_DecRef)
EXPORT_FUNC(Py_EncodeLocale)
EXPORT_FUNC(Py_EndInterpreter)
EXPORT_FUNC(Py_EnterRecursiveCall)
@@ -260,8 +260,8 @@ EXPORT_FUNC(PyFloat_FromString)
EXPORT_FUNC(PyFloat_GetInfo)
EXPORT_FUNC(PyFloat_GetMax)
EXPORT_FUNC(PyFloat_GetMin)
-EXPORT_FUNC(PyFrame_GetLineNumber)
EXPORT_FUNC(PyFrame_GetCode)
+EXPORT_FUNC(PyFrame_GetLineNumber)
EXPORT_FUNC(PyFrozenSet_New)
EXPORT_FUNC(PyGC_Collect)
EXPORT_FUNC(PyGILState_Ensure)
@@ -424,8 +424,8 @@ EXPORT_FUNC(PyObject_GC_Del)
EXPORT_FUNC(PyObject_GC_Track)
EXPORT_FUNC(PyObject_GC_UnTrack)
EXPORT_FUNC(PyObject_GenericGetAttr)
-EXPORT_FUNC(PyObject_GenericSetAttr)
EXPORT_FUNC(PyObject_GenericGetDict)
+EXPORT_FUNC(PyObject_GenericSetAttr)
EXPORT_FUNC(PyObject_GenericSetDict)
EXPORT_FUNC(PyObject_GetAttr)
EXPORT_FUNC(PyObject_GetAttrString)
@@ -556,9 +556,9 @@ EXPORT_FUNC(PyTuple_Pack)
EXPORT_FUNC(PyTuple_SetItem)
EXPORT_FUNC(PyTuple_Size)
EXPORT_FUNC(PyType_ClearCache)
+EXPORT_FUNC(PyType_FromModuleAndSpec)
EXPORT_FUNC(PyType_FromSpec)
EXPORT_FUNC(PyType_FromSpecWithBases)
-EXPORT_FUNC(PyType_FromModuleAndSpec)
EXPORT_FUNC(PyType_GenericAlloc)
EXPORT_FUNC(PyType_GenericNew)
EXPORT_FUNC(PyType_GetFlags)
@@ -726,13 +726,13 @@ EXPORT_DATA(PyExc_BlockingIOError)
EXPORT_DATA(PyExc_BrokenPipeError)
EXPORT_DATA(PyExc_BufferError)
EXPORT_DATA(PyExc_BytesWarning)
-EXPORT_DATA(PyExc_EncodingWarning)
EXPORT_DATA(PyExc_ChildProcessError)
EXPORT_DATA(PyExc_ConnectionAbortedError)
EXPORT_DATA(PyExc_ConnectionError)
EXPORT_DATA(PyExc_ConnectionRefusedError)
EXPORT_DATA(PyExc_ConnectionResetError)
EXPORT_DATA(PyExc_DeprecationWarning)
+EXPORT_DATA(PyExc_EncodingWarning)
EXPORT_DATA(PyExc_EnvironmentError)
EXPORT_DATA(PyExc_EOFError)
EXPORT_DATA(PyExc_Exception)