Skip to content

Commit

Permalink
Fixed wrong type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
karkkieila authored Feb 11, 2025
1 parent e10416a commit 8865bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/part-9/1-objects-and-references.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ You may remember that lists do not contain any objects themselves. They contain

```python
class Product:
def __init__(self, name: int, unit: str):
def __init__(self, name: str, unit: str):
self.name = name
self.unit = unit

Expand Down

0 comments on commit 8865bc5

Please sign in to comment.