From b71afc789f69260a06d0df99b365aa7e1755e7de Mon Sep 17 00:00:00 2001 From: David Rotermund <54365609+davrot@users.noreply.github.com> Date: Mon, 18 Dec 2023 23:55:20 +0100 Subject: [PATCH] Update README.md Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com> --- python_basics/dataclass/README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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: