We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ea46e commit ab00ff4Copy full SHA for ab00ff4
Python/optimizer_bytecodes.c
@@ -919,16 +919,6 @@ dummy_func(void) {
919
tup = sym_new_tuple(ctx, oparg, values);
920
}
921
922
- op(_BUILD_SLICE, (values[oparg] -- slice)) {
923
- if (sym_is_const(ctx, values[oparg])) {
924
- PyObject *val = sym_get_const(ctx, values[oparg]);
925
- slice = sym_new_const(ctx, val);
926
- Py_DecRef(val);
927
- }
928
- else {
929
- slice = sym_new_type(ctx, &PySlice_Type);
930
931
932
op(_BUILD_STRING, (values[oparg] -- str)) {
933
if (sym_is_const(ctx, values[oparg])) {
934
PyObject *val = sym_get_const(ctx, values[oparg]);
0 commit comments