What if it is None?  Right now this doesn't say what that means.  (Also, the type should be `int or None` instead of just `int`).