mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-12-18 01:00:15 +00:00
Removed Unused Variables (#949)
- Removed two unused variables.
- Changed `a` to `_` since the `a` variable is never used.
This addresses [3 alerts from lgtm](d55bbcd204/files/sorts/Odd-Even_transposition_parallel.py
).
This commit is contained in:
parent
408c5deb3a
commit
217615abf6
|
@ -70,13 +70,11 @@ arr = the list to be sorted
|
|||
def OddEvenTransposition(arr):
|
||||
|
||||
processArray = []
|
||||
tempRrcv = None
|
||||
tempLrcv = None
|
||||
|
||||
resultPipe = []
|
||||
|
||||
#initialize the list of pipes where the values will be retrieved
|
||||
for a in arr:
|
||||
for _ in arr:
|
||||
resultPipe.append(Pipe())
|
||||
|
||||
#creates the processes
|
||||
|
|
Loading…
Reference in New Issue
Block a user