diff --git a/mypy/fastparse.py b/mypy/fastparse.py index 2deefd6e0840..2ed3cbab2184 100644 --- a/mypy/fastparse.py +++ b/mypy/fastparse.py @@ -1535,4 +1535,4 @@ def bytes_to_human_readable_repr(b: bytes) -> str: >>> print(repr(s)) 'foo\\n\\x00' """ - return str(b)[2:-1] + return repr(b)[2:-1] pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy