Skip to content

Commit 2f3967c

Browse files
committed
Python: Fixes erroneous modernization bug
1 parent d535246 commit 2f3967c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ module ClassValue {
848848

849849
/** Get the `ClassValue` for the `StopIteration` class. */
850850
ClassValue stopIteration() {
851-
result = TBuiltinClassObject(Builtin::special("StopIteration"))
851+
result = TBuiltinClassObject(Builtin::builtin("StopIteration"))
852852
}
853853

854854
/** Get the `ClassValue` for the class of modules. */

0 commit comments

Comments
 (0)