pdoc icon indicating copy to clipboard operation
pdoc copied to clipboard

Arbitrary documentation is generated for undocumented enum, with python 3.12

Open mfrigerio17 opened this issue 1 year ago • 1 comments

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 :)

mfrigerio17 avatar Jun 20 '24 08:06 mfrigerio17