From 96841cd41d655fe10035e9fdab03626628e0c3a8 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 26 Nov 2017 08:59:57 -0800 Subject: 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. --- docs/source/plugin-development/registering-plugins.rst | 1 - 1 file changed, 1 deletion(-) (limited to 'docs/source/plugin-development') 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 = [ -- cgit v1.2.1