diff --git a/python_basics/dataclass/README.md b/python_basics/dataclass/README.md index 83ff56f..f70ff20 100644 --- a/python_basics/dataclass/README.md +++ b/python_basics/dataclass/README.md @@ -16,7 +16,7 @@ Questions to [David Rotermund](mailto:davrot@uni-bremen.de) This is the first construct in Python that requires type annotation. -If we do this: +If we do this, we get this nice error! ```python from dataclasses import dataclass @@ -28,10 +28,6 @@ class TestClass: b ``` -We get this nice error: - -![image0](2022-04-02_20-34_0.png) - With type annotations: