namedtuple
-
python解析之namedtuple函数怎么使用
源码解释: def namedtuple(typename, field_names, *, rename=False, defaults=None, module=None): “””Returns a new subclass of tuple with named fields. >&g…
源码解释: def namedtuple(typename, field_names, *, rename=False, defaults=None, module=None): “””Returns a new subclass of tuple with named fields. >&g…