Make get_similar_command() return None for no value
Follows the more conventional pattern of using None, instead of False, when no value can be returned. This simplifies typing a bit by using Optional instead of Union[bool, ...].
Showing
想要评论请 注册 或 登录