Skip to content

Commit 9e252d5

Browse files
committed
Python: Explain random example
1 parent 849159b commit 9e252d5

File tree

1 file changed

+3
-2
lines changed
  • python/ql/test/experimental/library-tests/CallGraph

1 file changed

+3
-2
lines changed

python/ql/test/experimental/library-tests/CallGraph/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ If the value for `--max-import-depth` is set so that `import random` will extrac
3131
```py
3232
import random
3333
if random.random() < 0.5:
34-
...
34+
func = foo
3535
else:
36-
...
36+
func = bar
37+
func()
3738
```

0 commit comments

Comments
 (0)