Yet another solution I just thought of: The simplest way to get the same behaviour as your original code is. Immutable = collections.namedtuple("Immutable", ...
確定! 回上一頁