styling
This commit is contained in:
parent
e1449b2ac3
commit
31ae1ce379
@ -2415,7 +2415,6 @@ def a ():
|
|||||||
return
|
return
|
||||||
|
|
||||||
>>> None
|
>>> None
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
And
|
And
|
||||||
@ -2452,19 +2451,16 @@ Disassembly of <code object b at 0x0000029C4D3C2ED0, file "<dis>", line 5>:
|
|||||||
2 RETURN_VALUE
|
2 RETURN_VALUE
|
||||||
```
|
```
|
||||||
|
|
||||||
An empty <code> return </code> is exactly the same as <code> return None </code> and functions without any return
|
An empty <code> return</code> is exactly the same as <code>return None</code> and functions without any explicit return
|
||||||
will always return None regardless of the operations, therefore
|
will always return None regardless of the operations, therefore
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
def sum(a, b):
|
def sum(a, b):
|
||||||
global C
|
global C
|
||||||
c = a + b
|
c = a + b
|
||||||
|
|
||||||
>>> None
|
>>> None
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
Loading…
Reference in New Issue
Block a user