Update sphinx/domains/cpp.py

Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
This commit is contained in:
Jeremy Maitin-Shepard 2022-03-11 05:02:34 -08:00 committed by GitHub
parent 0cb021b65c
commit 8aa785fe5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3399,7 +3399,7 @@ class ASTUnion(ASTBase):
class ASTEnum(ASTBase):
def __init__(self, name: ASTNestedName, scoped: str,
underlyingType: ASTType,
attrs: Optional[List[ASTAttribute]] = None) -> None:
attrs: List[ASTAttribute]) -> None:
self.name = name
self.scoped = scoped
self.underlyingType = underlyingType