fix: no implicit optional (#7984)

This commit is contained in:
Dhruv Manilawala
2022-11-15 19:25:14 +05:30
committed by GitHub
parent 316e71b034
commit 3bf86b91e7
6 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
import operator
def strand_sort(arr: list, reverse: bool = False, solution: list = None) -> list:
def strand_sort(arr: list, reverse: bool = False, solution: list | None = None) -> list:
"""
Strand sort implementation
source: https://en.wikipedia.org/wiki/Strand_sort