summaryrefslogtreecommitdiff
path: root/docs/source/plugin-development
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-11-26 08:59:57 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2017-11-26 09:58:55 -0800
commit96841cd41d655fe10035e9fdab03626628e0c3a8 (patch)
tree6226661da0b4f65821d36c4cc593e60287c295bc /docs/source/plugin-development
parent696063ed1ac6c4252298e46373447a8623ef4cc0 (diff)
downloadflake8-96841cd41d655fe10035e9fdab03626628e0c3a8.tar.gz
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.
Diffstat (limited to 'docs/source/plugin-development')
-rw-r--r--docs/source/plugin-development/registering-plugins.rst1
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/source/plugin-development/registering-plugins.rst b/docs/source/plugin-development/registering-plugins.rst
index 0f4280f..d18d2fa 100644
--- a/docs/source/plugin-development/registering-plugins.rst
+++ b/docs/source/plugin-development/registering-plugins.rst
@@ -25,7 +25,6 @@ like:
.. code-block:: python
- from __future__ import with_statement
import setuptools
requires = [