diff options
author | brenda-br | 2023-02-23 22:14:39 +0530 |
---|---|---|
committer | brenda-br | 2023-02-23 22:14:39 +0530 |
commit | d476d2e053f937c0060f696312f301591e4f43ea (patch) | |
tree | 5d1643ba487082f986d8cc1868fba482293f1e37 /venv/Lib/site-packages/lazy_object_proxy/utils.py | |
parent | c5f533673ea9ab4315e76940f6d014e349f97884 (diff) | |
download | Chemical-Simulator-GUI-d476d2e053f937c0060f696312f301591e4f43ea.tar.gz Chemical-Simulator-GUI-d476d2e053f937c0060f696312f301591e4f43ea.tar.bz2 Chemical-Simulator-GUI-d476d2e053f937c0060f696312f301591e4f43ea.zip |
Restructure Code -1
Diffstat (limited to 'venv/Lib/site-packages/lazy_object_proxy/utils.py')
-rw-r--r-- | venv/Lib/site-packages/lazy_object_proxy/utils.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/venv/Lib/site-packages/lazy_object_proxy/utils.py b/venv/Lib/site-packages/lazy_object_proxy/utils.py deleted file mode 100644 index ceb3050..0000000 --- a/venv/Lib/site-packages/lazy_object_proxy/utils.py +++ /dev/null @@ -1,13 +0,0 @@ -def identity(obj): - return obj - - -class cached_property(object): - def __init__(self, func): - self.func = func - - def __get__(self, obj, cls): - if obj is None: - return self - value = obj.__dict__[self.func.__name__] = self.func(obj) - return value |