Skip to content

Commit a21391a

Browse files
committed
Let compiler build template tuples
1 parent f57647e commit a21391a

15 files changed

+255
-356
lines changed

Include/internal/pycore_opcode_metadata.h

Lines changed: 3 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_template.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ extern PyTypeObject _PyTemplateIter_Type;
1616

1717
extern PyObject *_PyTemplate_Concat(PyObject *self, PyObject *other);
1818

19-
PyAPI_FUNC(PyObject *) _PyTemplate_FromValues(PyObject **values, Py_ssize_t n);
20-
PyAPI_FUNC(PyObject *) _PyTemplate_FromList(PyObject *list);
19+
PyAPI_FUNC(PyObject *) _PyTemplate_Build(PyObject *strings, PyObject *interpolations);
2120

2221
#ifdef __cplusplus
2322
}

Include/internal/pycore_uop_ids.h

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_uop_metadata.h

Lines changed: 2 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/opcode_ids.h

Lines changed: 71 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)