summaryrefslogtreecommitdiff
path: root/sphinx/domains/cpp.py
diff options
context:
space:
mode:
authorJakob Lykke Andersen <Jakob@caput.dk>2022-03-12 20:05:26 +0100
committerJakob Lykke Andersen <Jakob@caput.dk>2022-03-12 20:05:26 +0100
commit9362df53be33bd2b5702afb2da3315d327cc838b (patch)
tree72946b6403b12dc48354a5e6ba98b97f1d32725d /sphinx/domains/cpp.py
parent926fab0a01ee0c22275edc45e35c794fca7f4023 (diff)
downloadsphinx-git-9362df53be33bd2b5702afb2da3315d327cc838b.tar.gz
C++, minor formatting
Diffstat (limited to 'sphinx/domains/cpp.py')
-rw-r--r--sphinx/domains/cpp.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/sphinx/domains/cpp.py b/sphinx/domains/cpp.py
index f5c54ed63..5e239a2d9 100644
--- a/sphinx/domains/cpp.py
+++ b/sphinx/domains/cpp.py
@@ -3370,8 +3370,7 @@ class ASTClass(ASTBase):
class ASTUnion(ASTBase):
- def __init__(self, name: ASTNestedName,
- attrs: List[ASTAttribute]) -> None:
+ def __init__(self, name: ASTNestedName, attrs: List[ASTAttribute]) -> None:
self.name = name
self.attrs = attrs
@@ -3397,8 +3396,7 @@ class ASTUnion(ASTBase):
class ASTEnum(ASTBase):
- def __init__(self, name: ASTNestedName, scoped: str,
- underlyingType: ASTType,
+ def __init__(self, name: ASTNestedName, scoped: str, underlyingType: ASTType,
attrs: List[ASTAttribute]) -> None:
self.name = name
self.scoped = scoped