Module mls_lib.objects.object

Object: Component that holds data.

Classes

class Object

Object: Component that holds data.

Expand source code
class Object:
    """ Object: Component that holds data. """
    def __init__(self) -> None:
        pass
    def __str__(self) -> str:
        return "Obj"

    def __repr__(self) -> str:
        return "Obj"

    def copy(self):
        """ Returns a copy of the object. """
        return deepcopy(self)

Subclasses

Methods

def copy(self)

Returns a copy of the object.