@@ -8,7 +8,7 @@ the standard Python 3 names and locations, it provides access to either the
88corresponding native standard library modules (``future.moves ``) or to backported
99modules from Python 3.3 (``future.backports ``).
1010
11- .. _list-standard-library-moves :
11+ .. _list-standard-library-renamed :
1212
1313List of renamed standard library modules
1414----------------------------------------
@@ -28,7 +28,6 @@ modules under their Python 3.x interfaces. The following renamed modules can be
2828 import html.entities
2929 import html.parser
3030
31- import http
3231 import http.client
3332 import http.cookies
3433 import http.cookiejar
@@ -40,7 +39,17 @@ modules under their Python 3.x interfaces. The following renamed modules can be
4039
4140 import socketserver
4241
43- from tkinter import ...
42+ from tkinter import colorchooser
43+ from tkinter import commondialog
44+ from tkinter import constants
45+ from tkinter import dialog
46+ from tkinter import dnd
47+ from tkinter import filedialog
48+ from tkinter import font
49+ from tkinter import messagebox
50+ from tkinter import scrolledtext
51+ from tkinter import simpledialog
52+ from tkinter import tix
4453
4554 import winreg # Windows only
4655
@@ -52,30 +61,28 @@ modules under their Python 3.x interfaces. The following renamed modules can be
5261 import _thread
5362
5463
64+ .. _list-standard-library-refactored :
65+
5566List of refactored standard library modules
5667-------------------------------------------
5768
5869Some modules were refactored or extended from Python 2.6/2.7 to
59703.x but were neither renamed nor were the new interfaces backported. The
6071``future `` package makes the Python 3.x interfaces available on Python
61- 2.x after running::
62-
63- from future.standard_library import install_aliases
64- install_aliases()
65-
66- Then the following additional imports work in Python 2/3 compatible code::
72+ 2.x using one of four interfaces described below. Then the following additional
73+ modules and names are supported::
6774
6875 from collections import Counter, OrderedDict # backported to Py2.6
6976 from collections import UserDict, UserList, UserString
7077
7178 import dbm
7279 import dbm.dumb
73- import dbm.gnu
74- import dbm.ndbm
80+ import dbm.gnu # requires Python dbm support
81+ import dbm.ndbm # requires Python dbm support
7582
7683 from itertools import filterfalse, zip_longest
7784
78- from subprocess import check_output # backported to Py2.6
85+ from subprocess import check_output # backported to Py2.6
7986 from subprocess import getoutput, getstatusoutput
8087
8188 from sys import intern
@@ -158,8 +165,8 @@ follows::
158165install_hooks() call
159166~~~~~~~~~~~~~~~~~~~~
160167
161- The fourth interface to the reorganized standard library is via an
162- explicit call to ``install_hooks() ``::
168+ The fourth interface to the reorganized standard library is via a
169+ call to ``install_hooks() ``::
163170
164171 from future import standard_library
165172 standard_library.install_hooks()
0 commit comments