mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Step 2 in putting the MacOS toolbox modules in a package: issue a DepracationWarning in the compatibility modules.
This commit is contained in:
parent
6af5bbb565
commit
6dba6bc0a2
45 changed files with 135 additions and 0 deletions
|
@ -1 +1,4 @@
|
|||
import warnings
|
||||
warnings.warn("The %s module is deprecated; use Carbon.%s"%(__name__, __name__),
|
||||
DeprecationWarning, stacklevel=2)
|
||||
from Carbon.TE import *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue