How to implement `__setitem__` for `pathlib.Path`

前端 未结 0 639
没有蜡笔的小新
没有蜡笔的小新 2021-01-07 13:48

As above. I made this attempt below but it throws an error: I don\'t know how to mutate self to get what I want.

from pathlib import Path

class          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题