diff options
author | Jeremy Maitin-Shepard <jeremy@jeremyms.com> | 2022-03-11 05:02:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-11 05:02:34 -0800 |
commit | 8aa785fe5da0f6d810efbf043188c03b4b19868c (patch) | |
tree | 63fc3db1cdc5b728489841a8fc42243ab4a3395c /sphinx/domains/cpp.py | |
parent | 0cb021b65c2ec9ef4d7979aabe90ae77d634538c (diff) | |
download | sphinx-git-8aa785fe5da0f6d810efbf043188c03b4b19868c.tar.gz |
Update sphinx/domains/cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
Diffstat (limited to 'sphinx/domains/cpp.py')
-rw-r--r-- | sphinx/domains/cpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/domains/cpp.py b/sphinx/domains/cpp.py index 7a0c5b64d..604730287 100644 --- a/sphinx/domains/cpp.py +++ b/sphinx/domains/cpp.py @@ -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 |