We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c55dca commit 38e0950Copy full SHA for 38e0950
Python异常.md
@@ -365,16 +365,21 @@ if __debug__:
365
```
366
367
assert实现: 手动触发异常;
368
+```python
369
assert condition[,expression]
370
371
if __debug__:
372
if not condition:
373
raise AssertionError,expression
-
374
+```
375
Python异常对象:
376
+
377
BaseException:
378
379
三个基本抽象类;
380
381
raise手动触发异常;
382
383
assert断言(raise的特殊表现)
384
385
0 commit comments