Using deprecated.deprecated instead of warnings.deprecated because warnings.deprecated is not compatible with all python3 versions.
This commit is contained in:
parent
c56e93a617
commit
0cd5270419
1 changed files with 2 additions and 2 deletions
|
@ -7,10 +7,10 @@ With this module, you can store data in files easyly.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import json
|
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:
|
class DictFile:
|
||||||
"""
|
"""
|
||||||
This class is not safe to use!
|
This class is not safe to use!
|
||||||
|
|
Loading…
Reference in a new issue