summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 0b24cbd..e808aee 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -4711,14 +4711,6 @@ check_eval_breaker:
res = PyNumber_Multiply(lhs, rhs);
break;
case NB_REMAINDER:
- if (PyUnicode_CheckExact(lhs) &&
- (!PyUnicode_Check(rhs) || PyUnicode_CheckExact(rhs)))
- {
- // bpo-28598: Fast path for string formatting (but not
- // if the RHS is a str subclass).
- res = PyUnicode_Format(lhs, rhs);
- break;
- }
res = PyNumber_Remainder(lhs, rhs);
break;
case NB_OR: