pdoc
pdoc copied to clipboard
Arbitrary documentation is generated for undocumented enum, with python 3.12
Hi, With an undocumented enum like this
from enum import Enum
class MyEnum(Enum):
one = 1,
two = 2
pdoc 14.5.0 with python 3.12 generates html with some "default" documentation of a Color enum.
The same pdoc version with python 3.10 behaves as expected, i.e. the html docs do not say anything (besides "An enumeration").
Not a sever bug, a bit funny I would say :)