summaryrefslogtreecommitdiff
path: root/sphinx/domains/cpp.py
diff options
context:
space:
mode:
authorJeremy Maitin-Shepard <jeremy@jeremyms.com>2022-03-11 05:02:34 -0800
committerGitHub <noreply@github.com>2022-03-11 05:02:34 -0800
commit8aa785fe5da0f6d810efbf043188c03b4b19868c (patch)
tree63fc3db1cdc5b728489841a8fc42243ab4a3395c /sphinx/domains/cpp.py
parent0cb021b65c2ec9ef4d7979aabe90ae77d634538c (diff)
downloadsphinx-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.py2
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