Using deprecated.deprecated instead of warnings.deprecated because warnings.deprecated is not compatible with all python3 versions.

This commit is contained in:
The Wobbler 2024-11-21 18:25:44 +01:00
parent c56e93a617
commit 0cd5270419

View file

@ -7,10 +7,10 @@ With this module, you can store data in files easyly.
import os
import json
from warnings import deprecated
from deprecated import deprecated
@deprecated("This function is not safe to use!!!")
@deprecated(reason="This function is not safe to use!!!")
class DictFile:
"""
This class is not safe to use!