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 {
427427 or
428428 this .getASuperType ( ) = ClassValue:: list ( )
429429 or
430- this .getASuperType ( ) = ClassValue:: rangeType ( )
430+ this .getASuperType ( ) = ClassValue:: range ( )
431431 or
432432 this .getASuperType ( ) = ClassValue:: bytes ( )
433433 or
@@ -820,13 +820,6 @@ module ClassValue {
820820 result = TBuiltinClassObject ( Builtin:: special ( "complex" ) )
821821 }
822822
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-
830823 /** Get the `ClassValue` for the `bytes` class (also called `str` in Python 2). */
831824 ClassValue bytes ( ) {
832825 result = TBuiltinClassObject ( Builtin:: special ( "bytes" ) )
You can’t perform that action at this time.
0 commit comments