openpyxl.comments.author 源代码
# Copyright (c) 2010-2022 openpyxl
from openpyxl.descriptors.serialisable import Serialisable
from openpyxl.descriptors import (
Sequence,
Alias
)
[文档]class AuthorList(Serialisable):
tagname = "authors"
author = Sequence(expected_type=str)
authors = Alias("author")
def __init__(self,
author=(),
):
self.author = author