未验证 提交 6b0c4c7d 编写于 作者: N Nasy 提交者: GitHub

Change name: string.py to strings.py

标准库里有一个名为 string 的,在很多包里(比如 pip -> logging )用了它。
鉴于,这个是针对新手的,可能在这个文件夹下用 pip 安装包,导致发生 `ImportError`

```
from string import Template
ImportError: cannot import name 'Template' from 'string' (/User/xxx/Python-100-Days/Day01-15/Day02/code/string.py)
```

因此改名为 strings.py 以规避此错误。
上级 0d2f0708
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册