Skip to content

Commit 673ebd4

Browse files
author
yaoyao
authored
[zh_CN] change 'del' to 'pop()'
1 parent 0ce0a35 commit 673ebd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zh/python_introduction/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322

323323
我希望你能觉得到目前为止这些都合情合理。:)准备享受更多字典的乐趣吗?跳到下一行去做一些更有趣的事情。
324324

325-
你可以使用`del`命令去删除字典里的元素。 比如,如果你想删除键`'favorite_numbers'`所对应的项,只需要键入如下命令:
325+
你可以使用`pop() `语句去删除字典里的元素。 比如,如果你想删除键`'favorite_numbers'`所对应的项,只需要键入如下命令:
326326

327327
>>> participant.pop('favorite_numbers')
328328
>>> participant

0 commit comments

Comments
 (0)