sync with O'Reilly Atlas
This commit is contained in:
9
05-data-classes/dataclass/club_wrong.py
Normal file
9
05-data-classes/dataclass/club_wrong.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from dataclasses import dataclass
|
||||
|
||||
# tag::CLUBMEMBER[]
|
||||
@dataclass
|
||||
class ClubMember:
|
||||
|
||||
name: str
|
||||
guests: list = []
|
||||
# end::CLUBMEMBER[]
|
||||
Reference in New Issue
Block a user