1.container 英文是容器,望文生义,是包含其它数据类型的一种数据结构或数据类型。
官方文档,确实是这样写的。Some objects contain references to other objects; these are called containers.
Python 容器的数据类型有如下:
list,
set,
dictionary,
OrderedDictionary
bytearray
array
string,
frozenset,
tuple,
bytes
1.container 英文是容器,望文生义,是包含其它数据类型的一种数据结构或数据类型。
官方文档,确实是这样写的。Some objects contain references to other objects; these are called containers.
Python 容器的数据类型有如下:
list,
set,
dictionary,
OrderedDictionary
bytearray
array
string,
frozenset,
tuple,
bytes