Merge pull request #1190 from BigRoy/chore/remove_python2_comp

Remove `python_2_comp.py`
This commit is contained in:
Jakub Trllo 2025-03-13 10:35:55 +01:00 committed by GitHub
commit e8da89ebd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,17 +0,0 @@
# Deprecated file
# - the file container 'WeakMethod' implementation for Python 2 which is not
# needed anymore.
import warnings
import weakref
WeakMethod = weakref.WeakMethod
warnings.warn(
(
"'ayon_core.lib.python_2_comp' is deprecated."
"Please use 'weakref.WeakMethod'."
),
DeprecationWarning,
stacklevel=2
)