Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sphinx
diff options
context:
space:
mode:
authorJeremy Maitin-Shepard <jeremy@jeremyms.com>2022-03-11 16:02:23 +0300
committerGitHub <noreply@github.com>2022-03-11 16:02:23 +0300
commit6073b320938f856f55974ca3658c9323ec593d3b (patch)
treed6d237eed4c9caa77868bf0c478e1d258d1128a3 /sphinx
parent619d817e364f69572d027297272155295c94b9aa (diff)
Update sphinx/domains/cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
Diffstat (limited to 'sphinx')
-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 4fd7eae7a..a2fd39fef 100644
--- a/sphinx/domains/cpp.py
+++ b/sphinx/domains/cpp.py
@@ -3371,7 +3371,7 @@ class ASTClass(ASTBase):
class ASTUnion(ASTBase):
def __init__(self, name: ASTNestedName,
- attrs: Optional[List[ASTAttribute]] = None) -> None:
+ attrs: List[ASTAttribute]) -> None:
self.name = name
self.attrs = attrs or []