mirror of
https://github.com/python/cpython.git
synced 2025-11-05 16:11:48 +00:00
9 lines
211 B
Python
9 lines
211 B
Python
|
|
import sys
|
||
|
|
from warnings import warnpy3k
|
||
|
|
|
||
|
|
warnpy3k("the ConfigParser module has been renamed "
|
||
|
|
"to 'configparser' in Python 3.0", stacklevel=2)
|
||
|
|
|
||
|
|
import configparser
|
||
|
|
sys.modules[__name__] = configparser
|