exercism/xpython — pull request #148 by Dog (2014-11-08 22:15:01+00:00)
Title: grains: Cleaned up Example

Implemented issue #141 which requested that sum_of_multiples use a function rather than a class.

I implemented the multiples as a list because it made it easier to differentiate them from the limit when looking at the test file. In the example I set the default multiples to None to avoid a python gotcha with mutable default arguments.

http://docs.python-guide.org/en/latest/writing/gotchas/