Skip to content

Commit 6b0c4c7

Browse files
authored
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 以规避此错误。
1 parent 0d2f070 commit 6b0c4c7

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed
File renamed without changes.

0 commit comments

Comments
 (0)