minor cleanup
clarify detect_smartcase docstring