mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Python: Explain random example
This commit is contained in:
@@ -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()
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user