Skip to content
Myr

use compat.str instead of compat.builtin_str

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jason Emerick · committed by Jason Emerick · parent f0660e3 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:requests/models.py+2 added-2 removed
99 unmodified lines
100101 for field, val in fields:102 if isinstance(val, list):103 for v in val:104 new_fields.append((field, builtin_str(v)))104 new_fields.append((field, str(v)))105 else:106 new_fields.append((field, builtin_str(val)))106 new_fields.append((field, str(val)))107108 for (k, v) in files:109 # support for explicit filename110 ft = None
563 unmodified lines