Skip to content

Commit f332588

Browse files
scriptdruid“Vipul
authored andcommitted
change method name from front to get_front (TheAlgorithms#1943)
Co-authored-by: “Vipul <“[email protected]”>
1 parent 5c092e6 commit f332588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/queue/queue_on_list.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def rotate(self, rotation):
4343
"""Enqueues {@code item}
4444
@return item at front of self.entries"""
4545

46-
def front(self):
46+
def get_front(self):
4747
return self.entries[0]
4848

4949
"""Returns the length of this.entries"""

0 commit comments

Comments
 (0)