src/PyDS/Stack.py
def push(self, value: Any) -> None:
        """Inserts value to the top of stack

        :param value: A value to insert
        :type value: Any
        """
        if self.__size == self.__capacity:
            self.__resize(capacity=2 * self.__capacity)
        self.__list[self.__size] = value
        self.__size += 1
Inserts value to the top of stack

        :param value: A value to insert
        :type value: Any
        
Inserts value to the top of stack
Inserts value to the top of stack
def push(self, value: Any) -> None:
        if self.__size == self.__capacity:
            self.__resize(capacity=2 * self.__capacity)
        self.__list[self.__size] = value
        self.__size += 1
def push ( self , value : Any ) -> None : if self . __size == self . __capacity : self . __resize ( capacity = 2 * self . __capacity ) self . __list [ self . __size ] = value self . __size += 1
Inserts value to the top of stack
Inserts value to the top of stack
"""Inserts value to the top of stack

        :param value: A value to insert
        :type value: Any
        """
self
value
Any
A value to insert
A value to insert