summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2024-02-29 16:11:28 (GMT)
committerGitHub <noreply@github.com>2024-02-29 16:11:28 (GMT)
commitf0df35eeca2ccdfd58cfb9801f06ffa23537270b (patch)
tree9c7c6a5de052e09462b0fda44ac7f55a4032540a /Python/ceval.c
parent45d8871dc4da33fcef92991031707c5bf88a40cf (diff)
downloadcpython-f0df35eeca2ccdfd58cfb9801f06ffa23537270b.zip
cpython-f0df35eeca2ccdfd58cfb9801f06ffa23537270b.tar.gz
cpython-f0df35eeca2ccdfd58cfb9801f06ffa23537270b.tar.bz2
GH-115802: JIT "small" code for Windows (GH-115964)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 41e9310..34f286e 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -337,6 +337,12 @@ const binaryfunc _PyEval_BinaryOps[] = {
[NB_INPLACE_XOR] = PyNumber_InPlaceXor,
};
+const conversion_func _PyEval_ConversionFuncs[4] = {
+ [FVC_STR] = PyObject_Str,
+ [FVC_REPR] = PyObject_Repr,
+ [FVC_ASCII] = PyObject_ASCII
+};
+
// PEP 634: Structural Pattern Matching