mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Renamed the ConfigParser module to 'configparser'.
This commit is contained in:
parent
1b9df6862a
commit
e3a23c0734
4 changed files with 13 additions and 1 deletions
8
Lib/lib-old/ConfigParser.py
Normal file
8
Lib/lib-old/ConfigParser.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue