Update python_base.py

misspelling...
master
cuican-wang 2016-11-05 15:58:45 -04:00 committed by GitHub
parent 3df5ac1958
commit f34f5fb8bb
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@
#-- 布尔类型bool #-- 布尔类型bool
type(True) # 返回<class 'bool'> type(True) # 返回<class 'bool'>
isinstance(False, int) # bool类型属于整所以返回True isinstance(False, int) # bool类型属于整所以返回True
True == 1; True is 1 # 输出(True, False) True == 1; True is 1 # 输出(True, False)
#-- 动态类型简介 #-- 动态类型简介