理解Python中mutable

  • 溯源

    From Chapter 19 : Operating System Services(Page 370) of*《Python Essential Reference》* writen by David M. Beazley:

    Furthermore, the contents of a memory-mapped file are mutable.

    This means that modifications can be made using index-assignment and slice-assignment operators.

    Unless a private mapping of the file has been made, such changes directly alter the contents of the underlying file.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章