which is mutable in python

纯净搜索 为您找到 本页 4 条,用时 0 秒(数据源:360)

AI 回答 由 glm-4-flash 生成 · 仅供参考,请自行核实
1. Lists
2. Dictionaries
3. Sets
4. Strings (in Python 3, strings are immutable, but in Python 2, they were mutable)
5. Tuples (in Python 3, tuples are immutable, but in Python 2, they were mutable)
6. User-defined classes (if they have mutable attributes)

理解Python中mutable-CSDN博客

文章浏览阅读456次。本文探讨了内存映射文件的特性,指出其内容是可变的,可通过索引赋值和切片赋值操作进行修改。除非创建了文件的私有映射,否...blog.csdn.net反馈
blog.csdn.net