2016/11/24
由于是 unknown knowledge
无奈连关键词都不知道组织 ( 它的作用还是知道的: 定义一般形式 )
try_stmt ::= try1_stmt | try2_stmt
try1_stmt ::= "try" ":" suite
("except" [expression [("as" | ",") identifier]] ":" suite)+
["else" ":" suite]
["finally" ":" suite]
try2_stmt ::= "try" ":" suite
"finally" ":" suite
Python 官方doc
相关分类