numenta/nupic — pull request #496 by oxtopus (2013-12-13 20:56:09+00:00)
Title: Clamodel.py cleanup

No functional changes.

- Use `is` for type comparison
- Rename `filter` local variable to `filter_` to avoid name conflict with builtin
- Use `for...else`
- Whitespace