Drop from __future__ import with_statement from docs

All versions of Python that flake8 supports (2.7, 3.4+) have full
support for the with statement. There is no need to add the import.

Slightly simplifies the example be removing unnecessary boilerplate.
This commit is contained in:
Jon Dufresne 2017-11-26 08:59:57 -08:00
parent 696063ed1a
commit 96841cd41d

View file

@ -25,7 +25,6 @@ like:
.. code-block:: python
from __future__ import with_statement
import setuptools
requires = [