Skip to content

Commit 21c93ef

Browse files
authored
Merge pull request xianhu#9 from cuican-wang/patch-3
Update python_base.py
2 parents b7f7aab + f34f5fb commit 21c93ef

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
@@ -105,7 +105,7 @@
105105

106106
#-- 布尔类型bool
107107
type(True) # 返回<class 'bool'>
108-
isinstance(False, int) # bool类型属于整形,所以返回True
108+
isinstance(False, int) # bool类型属于整型,所以返回True
109109
True == 1; True is 1 # 输出(True, False)
110110

111111
#-- 动态类型简介

0 commit comments

Comments
 (0)