Skip to content

Commit 3425ca4

Browse files
RobadobJostMigenda
andauthored
Update episodes/optimisation-data-structures-algorithms.md
Co-authored-by: Jost Migenda <[email protected]>
1 parent a68d6ec commit 3425ca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

episodes/optimisation-data-structures-algorithms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ When a value is inserted into a dictionary, its key is hashed to decide on which
192192

193193
### Keys
194194

195-
A dictionary's keys will typically be a core Python type such as a number or string. However, multiple of these can be combined as a Tuple to form a compound key, or a custom class can be used if the methods `__hash__()` and `__eq__()` have been implemented.
195+
A dictionary's keys will typically be a core Python type such as a number or string. However, multiple of these can be combined as a tuple to form a compound key, or a custom class can be used if the methods `__hash__()` and `__eq__()` have been implemented.
196196

197197
You can implement `__hash__()` by utilising the ability for Python to hash tuples, avoiding the need to implement a bespoke hash function.
198198

0 commit comments

Comments
 (0)