Python: Update python/ql/src/semmle/python/ApiGraphs.qll

Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
Taus
2021-05-20 13:14:09 +02:00
committed by GitHub
parent 75a43e76e8
commit c4bb3c27e0

View File

@@ -352,7 +352,7 @@ module API {
/** Gets the name of a known built-in. */
private string getBuiltInName() {
// These lists were created by inspecting the `builtins` and `__builtin__` modules in
// Python 2 and 3 respectively, using the `dir` built-in.
// Python 3 and 2 respectively, using the `dir` built-in.
// Built-in functions and exceptions shared between Python 2 and 3
result in [
"abs", "all", "any", "bin", "bool", "bytearray", "callable", "chr", "classmethod",