Skip to content

Commit 8c27430

Browse files
authored
Update issue description
1 parent dd41cf9 commit 8c27430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Fix an issue in :func:`unicodedata.normalize` where the return value's type is inconsistent when the function receives an instance of a subclass of :class:`str` due to incorrect optimization. Now, the function always returns an instance of the built-in :class:`str` type.
1+
Fix :func:`unicodedata.normalize` to always return a built-in :class:`str` object when given an input of a :class:`str` subclass, regardless of whether the string is already normalized.

0 commit comments

Comments
 (0)