Skip to content

Commit f34f5fb

Browse files
authored
Update python_base.py
misspelling...
1 parent 3df5ac1 commit f34f5fb

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
@@ -102,7 +102,7 @@
102102

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

108108
#-- 动态类型简介

0 commit comments

Comments
 (0)