mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
from __future__ import annotations (#2464)
* from __future__ import annotations * fixup! from __future__ import annotations * fixup! from __future__ import annotations * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -11,10 +11,10 @@ For manual testing run:
|
||||
python3 merge_insertion_sort.py
|
||||
"""
|
||||
|
||||
from typing import List
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
def merge_insertion_sort(collection: List[int]) -> List[int]:
|
||||
def merge_insertion_sort(collection: list[int]) -> list[int]:
|
||||
"""Pure implementation of merge-insertion sort algorithm in Python
|
||||
|
||||
:param collection: some mutable ordered collection with heterogeneous
|
||||
|
Reference in New Issue
Block a user