From 6dea733b83ed6576096f9786846c19313a4a963a Mon Sep 17 00:00:00 2001 From: Nils Liebreich <nilsl99@zedat.fu-berlin.de> Date: Wed, 2 Nov 2022 14:44:26 +0100 Subject: [PATCH] Improved the docstrings --- Aufgabe02.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Aufgabe02.py b/Aufgabe02.py index 7d0f6f0..2b46fa4 100644 --- a/Aufgabe02.py +++ b/Aufgabe02.py @@ -5,7 +5,7 @@ def HeapSort(array): Parameters ---------- - array: list(*int) + array: list[int] a list containing the integers to be sorted Returns @@ -55,7 +55,7 @@ def InsertionSort(array): Parameters ---------- - array: list(*int) + array: list[int] a list containing the intergers to be sorted Returns @@ -79,8 +79,8 @@ def CountingSort(array, k=None): Parameters ---------- - array: list(*int) - a list containing the intergers to be sorted + array: list[int] + a list containing the (positive) intergers to be sorted Returns ------- -- GitLab