Update README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2023-12-18 23:54:44 +01:00 committed by GitHub
parent c6d2666db5
commit d712c63977
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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?