Skip to content

Commit

Permalink
Fixed many
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAihopGG committed Jun 1, 2024
1 parent 3529adf commit 0bd9770
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ufpy/ustack.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ def __init__(self, __list: list[VT] = list()) -> UStack:
def pop(self) -> VT:
"""Return and remove top element."""
return self.__list.pop()

@property
def top(self) -> VT:
"""Top element of stack."""
return self.top()

def top(self) -> VT:
"""Gets top element of stack."""
Expand Down

0 comments on commit 0bd9770

Please sign in to comment.