From 1fd9ee6e1b766bda769dd46f93a453f8ee4a7454 Mon Sep 17 00:00:00 2001 From: Saurabh Kumar Bajpai Date: Mon, 27 Jul 2026 01:24:13 +0530 Subject: [PATCH] fix: relative import in complex_number, rename ML_snippets init --- pysnippets/Complex_number/complex_number.py | 2 +- pysnippets/ML_snippets/{_init__.py => __init__.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename pysnippets/ML_snippets/{_init__.py => __init__.py} (100%) diff --git a/pysnippets/Complex_number/complex_number.py b/pysnippets/Complex_number/complex_number.py index 093eb542..833d0ba3 100644 --- a/pysnippets/Complex_number/complex_number.py +++ b/pysnippets/Complex_number/complex_number.py @@ -1,7 +1,7 @@ from dataclasses import dataclass import logging -from exceptions import DivisionByZeroError +from .exceptions import DivisionByZeroError logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) diff --git a/pysnippets/ML_snippets/_init__.py b/pysnippets/ML_snippets/__init__.py similarity index 100% rename from pysnippets/ML_snippets/_init__.py rename to pysnippets/ML_snippets/__init__.py