Update bob.py

using new style class