Source code

Download source archive ↓

src/openpyxl/comments/author.py

1# Copyright (c) 2010-2024 openpyxl
2
3
4from openpyxl.descriptors.serialisable import Serialisable
5from openpyxl.descriptors import (
6    Sequence,
7    Alias
8)
9
10
11class AuthorList(Serialisable):
12
13    tagname = "authors"
14
15    author = Sequence(expected_type=str)
16    authors = Alias("author")
17
18    def __init__(self,
19                 author=(),
20                ):
21        self.author = author