fix docstring to include special `None` case