Python: Extend `Value` API. · github/codeql@ba2bbf1 · GitHub
Skip to content

Commit ba2bbf1

Browse files
committed
Python: Extend Value API.
Adds - `StringValue` as a new class, - `Value::booleanValue` which returns the boolean interpretation of the given value, and - `ClassValue::str` which returns the value of the `str` class, depending on the Python version.
1 parent 007b079 commit ba2bbf1

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

‎python/ql/src/semmle/python/objects/ObjectAPI.qll‎

Lines changed: 30 additions & 0 deletions

0 commit comments

Comments
 (0)