Skip to content

Commit fc8b9c6

Browse files
committed
Add changelog
1 parent c30e40e commit fc8b9c6

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

changelog.d/1406.change.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
`attrs.make_class()` now allows for Unicode class names.

src/attr/_make.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2908,6 +2908,7 @@ def make_class(
29082908
.. versionadded:: 17.1.0 *bases*
29092909
.. versionchanged:: 18.1.0 If *attrs* is ordered, the order is retained.
29102910
.. versionchanged:: 23.2.0 *class_body*
2911+
.. versionchanged:: 25.2.0 Class names can now be unicode.
29112912
"""
29122913
# Class identifiers are converted into the normal form NFKC while parsing
29132914
name = unicodedata.normalize("NFKC", name)

0 commit comments

Comments
 (0)