Skip to content

Commit e7dd8c3

Browse files
fix
1 parent 39cb451 commit e7dd8c3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mypyc/irbuild/specialize.py

-1
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,6 @@ def bytes_decode_fast_path(builder: IRBuilder, expr: CallExpr, callee: RefExpr)
753753

754754
encoding = "utf8"
755755

756-
# Handle up to 2 arguments: decode([encoding], [errors])
757756
if len(expr.arg_kinds) > 0 and isinstance(expr.args[0], StrExpr):
758757
if expr.arg_kinds[0] == ARG_NAMED:
759758
if expr.arg_names[0] == "encoding":

0 commit comments

Comments
 (0)