1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

1 commit

Author SHA1 Message Date
Jon Dufresne
cd9a0dd26d Simplify str_to_display() and its uses
With Python 2 dropped, only bytes need to be handled. Passing str was a
nop. These bytes/str boundaries are much clearer now.

There remains one use of str_to_display(): constole_to_str(). It
converts subprocess bytes output to str while handling decoding errors.
2021-02-20 06:02:26 -08:00