gh-109022: [Enum] require `names=()` to create empty enum type (GH-109048)
add guard so that ``Enum('bar')`` raises a TypeError instead of
creating a new enum class called `bar`. To create the new but
empty class, use:
huh = Enum('bar', names=()) E
Ethan Furman committed
c74e440168fab9bf91346471087a394af13fa2db
Parent: b9831e5
Committed by GitHub <noreply@github.com>
on 9/8/2023, 1:19:03 AM