mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge pull request #1190 from BigRoy/chore/remove_python2_comp
Remove `python_2_comp.py`
This commit is contained in:
commit
e8da89ebd8
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