Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/openpyxl/comments/author.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

8 statements  

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