Skip to content

Commit

Permalink
__fields__ of Unit should be None
Browse files Browse the repository at this point in the history
  • Loading branch information
ilotoki0804 committed Sep 14, 2024
1 parent ea59d80 commit e0f52e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fieldenum/_fieldenum.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def produce(self) -> T:

class UnitDescriptor: # MARK: Unit
__slots__ = ("name",)
__fields__ = ()
__fields__ = None

def __init__(self, name: str | None = None):
self.name = name
Expand Down

0 comments on commit e0f52e1

Please sign in to comment.