From 0dfb7008d785562eb9b2e12ed9fef9d89e716a1e Mon Sep 17 00:00:00 2001 From: Wobbl Date: Sat, 20 Jul 2024 19:05:46 +0200 Subject: [PATCH] Marked old textfile function as deprecated because it is not safe. --- data_file.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data_file.py b/data_file.py index 7ef387f..7290d07 100644 --- a/data_file.py +++ b/data_file.py @@ -7,8 +7,10 @@ With this module, you can store data in files easyly. import os import json +from warnings import deprecated +@deprecated("This function is not save to use!!!") class DictFile: """ This class is not safe to use!