mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Remove python_2_comp.py (we do not support Py2 for quite some time now)
This commit is contained in:
parent
69d570e02f
commit
00214c1def
1 changed files with 0 additions and 17 deletions
|
|
@ -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
|
|
||||||
)
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue