ray.rllib.common.SupportedFileType.strip#

SupportedFileType.strip(chars=None, /)#

返回一个去除前导和尾随空白字符的字符串副本。

如果给出了 chars 且不为 None,则移除 chars 中的字符。