Enums and nested classes

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 21 18:00:43 EDT 2022


On 20/04/22 10:57 pm, Sam Ezeh wrote:
> Has anyone here used or attempted to use a nested class inside an enum?
> 
> If so, how did you find it? (what did you expect to happen and did
> your expectations align with resulting behaviour etc.)

That's a pretty open-ended question. Is there something about
its current behaviour that you think should be different?

-- 
Greg



More information about the Python-list mailing list