Python: Explain random example

This commit is contained in:
Rasmus Wriedt Larsen
2020-07-06 17:30:49 +02:00
parent 849159b279
commit 9e252d5465

View File

@@ -31,7 +31,8 @@ If the value for `--max-import-depth` is set so that `import random` will extrac
```py
import random
if random.random() < 0.5:
...
func = foo
else:
...
func = bar
func()
```