You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [> Deep down, we're all the same. *](#-deep-down-were-all-the-same-)
32
32
- [> For what?](#-for-what)
33
33
- [> Evaluation time discrepancy](#-evaluation-time-discrepancy)
@@ -248,7 +248,7 @@ some_dict[5] = "Python"
248
248
249
249
---
250
250
251
-
### > Return return everywhere!
251
+
### > Return return everywhere!/到处返回!
252
252
253
253
```py
254
254
def some_func():
@@ -264,10 +264,10 @@ def some_func():
264
264
'from_finally'
265
265
```
266
266
267
-
#### 💡 Explanation:
267
+
#### 💡 说明:
268
268
269
-
-When a `return`, `break`or`continue`statement is executed in the `try` suite of a "try…finally" statement, the `finally`clause is also executed ‘on the way out.
270
-
-The return value of a function is determined by the last `return`statement executed. Since the `finally`clause always executes, a `return` statement executed in the `finally` clause will always be the last one executed.
0 commit comments