Skip to content

Commit 295a490

Browse files
authored
Update data_structures/queue/circular_queue.py
1 parent 4e4fb45 commit 295a490

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

data_structures/queue/circular_queue.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ def first(self):
4747

4848
def enqueue(self, data):
4949
"""
50-
This function insert an element at the end of the queue using self.rear value as an index
50+
This function inserts an element at the end of the queue using self.rear value
51+
as an index.
5152
>>> cq = CircularQueue(5)
5253
>>> cq.enqueue("A") # doctest: +ELLIPSIS
5354
<data_structures.queue.circular_queue.CircularQueue object at ...

0 commit comments

Comments
 (0)