mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
7 lines
249 B
Python
7 lines
249 B
Python
import mypkg #$ use=moduleImport("mypkg")
|
|
|
|
print(mypkg.foo) #$ use=moduleImport("mypkg").getMember("foo") // 42
|
|
|
|
import mypkg.foo #$ use=moduleImport("mypkg")
|
|
print(mypkg.foo) #$ use=moduleImport("mypkg").getMember("foo") // <module 'mypkg.foo' ...
|