class documentation

class Pointer:

Constructor: Pointer(val)

View In Hierarchy

Lets the user set and retrieve referenced variables like a pointer does. Not sure exactly how to emulate pointers to normal variables yet.

USAGE a_ptr = Pointer(7) b_ptr = Pointer(8)

a_ptr.ref = b_ptr.ref print(a_ptr) # '8'

b_ptr.val = 10 print(a_ptr) # '10'

Method __init__ Undocumented
Method ref.setter Set the reference object, i.e., change the internal list
Method val.setter set the value stored in the referece, i.e., the single list element
Class Variable __slots__ Undocumented
Property ref Get the "reference" object, i.e., the internal list
Property val get the value stored in the reference, i.e., the single list element
Instance Variable __ref Undocumented
def __init__(self, val):

Undocumented

@ref.setter
def ref(self, ref_list):

Set the reference object, i.e., change the internal list

@val.setter
def val(self, val):

set the value stored in the referece, i.e., the single list element

__slots__: tuple[str, ...] =

Undocumented

@property
ref =

Get the "reference" object, i.e., the internal list

@property
val =

get the value stored in the reference, i.e., the single list element

__ref =

Undocumented