diff --git a/create/code.mdx b/create/code.mdx index cf5442442..45c54139b 100644 --- a/create/code.mdx +++ b/create/code.mdx @@ -324,11 +324,11 @@ from dataclasses import dataclass @dataclass class Book: -title: str -author: str -isbn: str -checked_out: bool = False -due_date: Optional[datetime] = None + title: str + author: str + isbn: str + checked_out: bool = False + due_date: Optional[datetime] = None class Library: def __init__(self):