mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-68966: Deprecate the mailcap module (#91951)
This commit is contained in:
parent
b87f7f2c21
commit
80de0273c0
7 changed files with 29 additions and 8 deletions
|
@ -1,10 +1,15 @@
|
|||
import mailcap
|
||||
import os
|
||||
import copy
|
||||
import test.support
|
||||
from test.support import os_helper
|
||||
import unittest
|
||||
import os
|
||||
import sys
|
||||
import test.support
|
||||
import unittest
|
||||
import warnings
|
||||
from test.support import os_helper
|
||||
from test.support import warnings_helper
|
||||
|
||||
|
||||
mailcap = warnings_helper.import_deprecated('mailcap')
|
||||
|
||||
|
||||
# Location of mailcap file
|
||||
MAILCAPFILE = test.support.findfile("mailcap.txt")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue