Skip to content

(mod)

Python module (file) node

clojure
(mod)

Behavior

  • Useful as a file-level anchor with operators like :at.

Examples

Find eager module-level file reads.

clojure
(:at (mod) (call open))

Selects in lines { 1 } but not in { 4 }:

python
config = open("config.json")

def load():
    return open("config.json")

Copyright © 2022-present Semantic Works, Inc.