@@ -105,8 +105,6 @@ package makes the Python 3.x APIs available on Python 2.x as follows::
105105
106106 from sys import intern
107107
108- from math import ceil # now returns an int
109-
110108 import test.support
111109
112110 import urllib.error
@@ -116,20 +114,26 @@ package makes the Python 3.x APIs available on Python 2.x as follows::
116114 import urllib.robotparser
117115
118116
119- Backports also exist of the following features from Python 2.7+ for Python 2.6 :
117+ Backports also exist of the following features from Python 3.4 :
120118
121- - collections.Counter
122- - collections.OrderedDict
123- - itertools.count (with an optional step parameter)
119+ - ``math.ceil `` returns an int on Py3
120+ - ``collections.OrderedDict `` (for Python 2.6)
121+ - ``collections.Counter `` (for Python 2.6)
122+ - ``collections.ChainMap `` (for all versions prior to Python 3.3)
123+ - ``itertools.count `` (for Python 2.6, with step parameter)
124+ - ``subprocess.check_output `` (for Python 2.6)
125+ - ``reprlib.recursive_repr ``
124126
125- These can be imported on Python 2.6 as follows::
127+ These can then be imported on Python 2.6+ as follows::
126128
127129 from future.standard_library import install_aliases
128130 install_aliases()
129131
130- from collections import Counter, OrderedDict
132+ from math import ceil # now returns an int
133+ from collections import Counter, OrderedDict, ChainMap
131134 from itertools import count
132135 from subprocess import check_output
136+ from reprlib import recursive_repr
133137
134138
135139External standard-library backports
0 commit comments