From 2a10afe217e8a0fa9d8b5074cb130262457c7677 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:10:40 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- data_structures/linked_list/sorted_linked_list.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/data_structures/linked_list/sorted_linked_list.py b/data_structures/linked_list/sorted_linked_list.py index 4c1da7ae1..02fc3807e 100644 --- a/data_structures/linked_list/sorted_linked_list.py +++ b/data_structures/linked_list/sorted_linked_list.py @@ -2,21 +2,20 @@ from __future__ import annotations from dataclasses import dataclass -# This is a sorted linked list class that creates +# This is a sorted linked list class that creates # a sorted linked list of integer datatype @dataclass class Node: - def __init__(self, data: int) -> None: """Constructor of Node class Args: data (int): Data of node - + Doctests - + >>> Node(20) Node(20) >>> Node(27)