Class: seqtype

Sk.builtin. seqtype

new seqtype() → {undefined}

Abstract class for Python sequence types.

Source:
Returns:

Cannot instantiate a Sk.builtin.seqtype object

Type
undefined

Extends

Members

$r

Return the string representation of this instance.

Javascript function, returns Python object.

Inherited From:
Source:

__add__

Python wrapper of __add__ method.

Source:

__contains__

Python wrapper of __contains__ method.

Source:

__eq__

Python wrapper for __eq__ method.

Inherited From:
Source:

__ge__

Python wrapper for __ge__ method.

Inherited From:
Source:

__getitem__

Python wrapper of __getitem__ method.

Source:

__gt__

Python wrapper for __gt__ method.

Inherited From:
Source:

__hash__

Python wrapper for __hash__ method.

Inherited From:
Source:

__iter__

Python wrapper of __iter__ method.

Source:

__le__

Python wrapper for __le__ method.

Inherited From:
Source:

__len__

Python wrapper of __len__ method.

Source:

__lt__

Python wrapper for __lt__ method.

Inherited From:
Source:

__mul__

Python wrapper of __mul__ method.

Source:

__ne__

Python wrapper for __ne__ method.

Inherited From:
Source:

__repr__

Python wrapper for __repr__ method.

Inherited From:
Source:

__rmul__

Python wrapper of __rmul__ method.

Source:

__str__

Python wrapper for __str__ method.

Inherited From:
Source:

ob$type :Sk.builtin.type

The type object of this class.

Type:
  • Sk.builtin.type
Inherited From:
Source:

tp$name :string

The name of this class.

Type:
  • string
Inherited From:
Source:

Methods

GenericGetAttr() → {undefined}

Inherited From:
Source:
Returns:
Type
undefined

ob$eq(other) → {Sk.builtin.bool|Sk.builtin.NotImplemented}

Perform equality check between this instance and a Python object (i.e. this == other).

Implements __eq__ dunder method.

Javascript function, returns Python object.

Parameters:
Name Type Description
other Object

The Python object to check for equality.

Inherited From:
Source:
Returns:

true if equal, false otherwise

Type
Sk.builtin.bool | Sk.builtin.NotImplemented

ob$ge(other) → {Sk.builtin.bool|Sk.builtin.NotImplemented}

Determine if this instance is greater than or equal to a Python object (i.e. this >= other).

Implements __ge__ dunder method.

Javascript function, returns Python object.

Parameters:
Name Type Description
other Object

The Python object to compare.

Inherited From:
Source:
Returns:

true if this >= other, false otherwise

Type
Sk.builtin.bool | Sk.builtin.NotImplemented

ob$gt(other) → {Sk.builtin.bool|Sk.builtin.NotImplemented}

Determine if this instance is greater than a Python object (i.e. this > other).

Implements __gt__ dunder method.

Javascript function, returns Python object.

Parameters:
Name Type Description
other Object

The Python object to compare.

Inherited From:
Source:
Returns:

true if this > other, false otherwise

Type
Sk.builtin.bool | Sk.builtin.NotImplemented

ob$le(other) → {Sk.builtin.bool|Sk.builtin.NotImplemented}

Determine if this instance is less than or equal to a Python object (i.e. this <= other).

Implements __le__ dunder method.

Javascript function, returns Python object.

Parameters:
Name Type Description
other Object

The Python object to compare.

Inherited From:
Source:
Returns:

true if this <= other, false otherwise

Type
Sk.builtin.bool | Sk.builtin.NotImplemented

ob$lt(other) → {Sk.builtin.bool|Sk.builtin.NotImplemented}

Determine if this instance is less than a Python object (i.e. this < other).

Implements __lt__ dunder method.

Javascript function, returns Python object.

Parameters:
Name Type Description
other Object

The Python object to compare.

Inherited From:
Source:
Returns:

true if this < other, false otherwise

Type
Sk.builtin.bool | Sk.builtin.NotImplemented

ob$ne(other) → {Sk.builtin.bool|Sk.builtin.NotImplemented}

Perform non-equality check between this instance and a Python object (i.e. this != other).

Implements __ne__ dunder method.

Javascript function, returns Python object.

Parameters:
Name Type Description
other Object

The Python object to check for non-equality.

Inherited From:
Source:
Returns:

true if not equal, false otherwise

Type
Sk.builtin.bool | Sk.builtin.NotImplemented

tp$hash() → {Sk.builtin.int_}

Return the hash value of this instance.

Javascript function, returns Python object.

Inherited From:
Source:
Returns:

The hash value

Type
Sk.builtin.int_