Update README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
d712c63977
commit
b71afc789f
1 changed files with 1 additions and 5 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue