mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-20 05:29:48 +00:00
change method name from front to get_front (#1943)
Co-authored-by: “Vipul <“vipulrai8891@gmail.com”>
This commit is contained in:
parent
08c8bb5ad5
commit
3d4ccc383a
@ -43,7 +43,7 @@ class Queue:
|
||||
"""Enqueues {@code item}
|
||||
@return item at front of self.entries"""
|
||||
|
||||
def front(self):
|
||||
def get_front(self):
|
||||
return self.entries[0]
|
||||
|
||||
"""Returns the length of this.entries"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user