mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Added a deprecation warning.
This commit is contained in:
parent
86bc464414
commit
abeb7d5f7f
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ import Carbon.Res
|
|||
import Carbon.File
|
||||
import warnings
|
||||
|
||||
warnings.warn("macfs is deprecated, use Carbon.File, Carbon.Folder or EasyDialogs",
|
||||
DeprecationWarning, stacklevel=2)
|
||||
|
||||
# First step: ensure we also emulate the MACFS module, which contained
|
||||
# all the constants
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue