Remove python_2_comp.py (we do not support Py2 for quite some time now)

This commit is contained in:
Roy Nieterau 2025-03-12 21:53:13 +01:00
parent 69d570e02f
commit 00214c1def

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
)