File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -173,11 +173,26 @@ External backports
173
173
Backports of the following modules from the Python 3.x standard library are
174
174
available independently of the python-future project::
175
175
176
- import enum # pip install enum34
177
- import singledispatch # pip install singledispatch
178
- import pathlib # pip install pathlib
179
- import statistics # is a backport available?
176
+ import enum # pip install enum34
177
+ import singledispatch # pip install singledispatch
178
+ import pathlib # pip install pathlib
180
179
180
+ A few modules from Python 3.4 and 3.3 are also available in the ``backports ``
181
+ package namespace::
182
+
183
+ from backports import lzma
184
+ from backports import functools_lru_cache as lru_cache
185
+
186
+ After ``pip install backports.lzma `` etc.
187
+
188
+ The following Python 2.6 backports of standard library packages from Python 2.7+
189
+ are also available::
190
+
191
+ import argparse # pip install argparse
192
+ import importlib # pip install importlib
193
+ import unittest2 as unittest #
5155
pip install unittest2
194
+
195
+ These are included in Python 2.7 and Python 3.x.
181
196
182
197
Included backports
183
198
------------------
You can’t perform that action at this time.
0 commit comments