Skip to content

Commit 8865bc5

Browse files
authored
Fixed wrong type hint
1 parent e10416a commit 8865bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/part-9/1-objects-and-references.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ You may remember that lists do not contain any objects themselves. They contain
124124

125125
```python
126126
class Product:
127-
def __init__(self, name: int, unit: str):
127+
def __init__(self, name: str, unit: str):
128128
self.name = name
129129
self.unit = unit
130130

0 commit comments

Comments
 (0)