Skip to content

Commit e86a926

Browse files
committed
fix bugs in python_base.py
1 parent 5f2191a commit e86a926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python_base.py

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

9999
#-- 集合frozenset,不可变对象
100100
"""
101-
set是可变对象,即不存在hash值,不能作为字典的键值。同样的还有list、tuple等
101+
set是可变对象,即不存在hash值,不能作为字典的键值。同样的还有list等(tuple是可以作为字典key的)
102102
frozenset是不可变对象,即存在hash值,可作为字典的键值
103103
frozenset对象没有add、remove等方法,但有union/intersection/difference等方法
104104
"""

0 commit comments

Comments
 (0)