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]
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: