diff --git a/python_basics/dataclass/README.md b/python_basics/dataclass/README.md index a6e1de7..83ff56f 100644 --- a/python_basics/dataclass/README.md +++ b/python_basics/dataclass/README.md @@ -24,7 +24,7 @@ from dataclasses import dataclass @dataclass class TestClass: - a + a # -> NameError: name 'a' is not defined b ``` @@ -45,9 +45,7 @@ class TestClass: b: str ``` -No error: - -![image1](2022-04-02_20-36.png) +No error!!! ## What is a dataclass?