mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Python: Use Builtin::special for floats ClassValue
We could find no reason for using `Builtin::builtin` instead of `Builtin::special`. Since all the other base types use `special`, and the old Object API is using `special`, let's also do that :)
This commit is contained in:
@@ -572,7 +572,7 @@ module ClassValue {
|
||||
|
||||
/** Get the `ClassValue` for the `float` class. */
|
||||
ClassValue float_() {
|
||||
result = TBuiltinClassObject(Builtin::builtin("float"))
|
||||
result = TBuiltinClassObject(Builtin::special("float"))
|
||||
}
|
||||
|
||||
/** Get the `ClassValue` for the `bytes` class (also called `str` in Python 2). */
|
||||
|
||||
Reference in New Issue
Block a user