mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 17:34:49 +08:00
Make some ruff fixes (#8154)
* Make some ruff fixes * Undo manual fix * Undo manual fix * Updates from ruff=0.0.251
This commit is contained in:
@ -127,7 +127,7 @@ class CircularQueueLinkedList:
|
||||
"""
|
||||
self.check_can_perform_operation()
|
||||
if self.rear is None or self.front is None:
|
||||
return
|
||||
return None
|
||||
if self.front == self.rear:
|
||||
data = self.front.data
|
||||
self.front.data = None
|
||||
|
Reference in New Issue
Block a user