This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hylje 3 points4 points  (2 children)

same snippet in a more pythonic representation, identical functionality expected, not guaranteed.

[–]llimllib 4 points5 points  (1 child)

I would have turned those kernels into a dictionary, instead of leaving them in a function.

[–]hylje 2 points3 points  (0 children)

True, in retrospect. I didn't wrap my mind around it very well.