File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
python/ql/src/semmle/python/objects Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ class ClassValue extends Value {
427
427
or
428
428
this .getASuperType ( ) = ClassValue:: list ( )
429
429
or
430
- this .getASuperType ( ) = ClassValue:: rangeType ( )
430
+ this .getASuperType ( ) = ClassValue:: range ( )
431
431
or
432
432
this .getASuperType ( ) = ClassValue:: bytes ( )
433
433
or
@@ -820,13 +820,6 @@ module ClassValue {
820
820
result = TBuiltinClassObject ( Builtin:: special ( "complex" ) )
821
821
}
822
822
823
- /** The builtin class '(x)range' */
824
- ClassValue rangeType ( ) {
825
- result = TBuiltinClassObject ( Builtin:: special ( "xrange" ) )
826
- or
827
- major_version ( ) = 3 and result = TBuiltinClassObject ( Builtin:: special ( "range" ) )
828
- }
829
-
830
823
/** Get the `ClassValue` for the `bytes` class (also called `str` in Python 2). */
831
824
ClassValue bytes ( ) {
832
825
result = TBuiltinClassObject ( Builtin:: special ( "bytes" ) )
You can’t perform that action at this time.
0 commit comments