str.replace("", new) is byte-oriented and can produce invalid UTF-8 for non-ASCII strings

March 15, 2026 ยท #420
View on GitHub
Python Difficulty: Medium

Sign in required

Authenticate to use favourites & bookmarks

5