Skip to content

Conversation

@emeryberger
Copy link
Contributor

No description provided.

@emeryberger
Copy link
Contributor Author

Example of bug and fix

from randomdict import RandomDict

q = RandomDict({ i : i * i for i in range(10) })
print(list(q.items()))

Before (ignores initialization):

[]

After (properly initialized):

[(0, 0), (1, 1), (2, 4), (3, 9), (4, 16), (5, 25), (6, 36), (7, 49), (8, 64), (9, 81)]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant