Python stdlib module — tokenize. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.detect_encoding()Neutraldetect_encoding(readline)
The detect_encoding() function is used to detect the encoding that should
.generate_tokens()Neutralgenerate_tokens(readline)
Tokenize a source reading Python code as unicode strings.
.lookup()Neutrallookup(encoding)
Looks up a codec tuple in the Python codec registry and returns a CodecInfo object.
| FQN | Field | |
|---|---|---|
| tokenize | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import tokenize