Skip to content

Commit

Permalink
docstring: EnumClassDocstring inherits from _CompoundDocstring
Browse files Browse the repository at this point in the history
Anything that has children should be a subclass of _CompoundDocstring.
  • Loading branch information
jnikula committed Oct 4, 2023
1 parent 4d4a07d commit 1aab400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hawkmoth/docstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,6 @@ class ClassDocstring(_CompoundDocstring):
_indent = 1
_fmt = '.. cpp:class:: {name}'

class EnumClassDocstring(Docstring):
class EnumClassDocstring(_CompoundDocstring):
_indent = 1
_fmt = '.. cpp:enum-class:: {name}'

0 comments on commit 1aab400

Please sign in to comment.