Removed Unused Variables (#949)

- Removed two unused variables.
- Changed `a` to `_` since the `a` variable is never used.

This addresses [3 alerts from lgtm](https://lgtm.com/projects/g/TheAlgorithms/Python/snapshot/d55bbcd204dfbd436914a5f9031a6a8fdf22f6f4/files/sorts/Odd-Even_transposition_parallel.py?sort=name&dir=ASC&mode=heatmap).
This commit is contained in:
PatOnTheBack
2019-07-05 14:04:46 +05:30
committed by Anup Kumar Panwar
parent 408c5deb3a
commit 217615abf6
+1 -3
View File
@@ -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