1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/news/fd62a11c-018c-4fde-ac8d-f674c6d9d190.trivial.rst
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

0 lines
ReStructuredText