scipy.sparse.csgraph.NegativeCycleError# exception scipy.sparse.csgraph.NegativeCycleError(message='')# with_traceback()# Exception.with_traceback(tb) – 将 self.__traceback__ 设置为 tb 并返回 self。