summaryrefslogtreecommitdiffstats
path: root/Lib/pathlib.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-03-27 14:05:26 (GMT)
committerGitHub <noreply@github.com>2017-03-27 14:05:26 (GMT)
commitd6debb24e06152a827769b0cac24c47deccdeac1 (patch)
treef26655d4333391e344dac8cbf6cf2dc08c18b8b4 /Lib/pathlib.py
parent604e74c6beb2585c81083fa85f0e5a4d46965cbc (diff)
downloadcpython-d6debb24e06152a827769b0cac24c47deccdeac1.zip
cpython-d6debb24e06152a827769b0cac24c47deccdeac1.tar.gz
cpython-d6debb24e06152a827769b0cac24c47deccdeac1.tar.bz2
bpo-29919: Remove unused imports found by pyflakes (#137)
Make also minor PEP8 coding style fixes on modified imports.
Diffstat (limited to 'Lib/pathlib.py')
-rw-r--r--Lib/pathlib.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/pathlib.py b/Lib/pathlib.py
index 4a1e9bb..fc7ce5e 100644
--- a/Lib/pathlib.py
+++ b/Lib/pathlib.py
@@ -7,7 +7,6 @@ import posixpath
import re
import sys
from collections import Sequence
-from contextlib import contextmanager
from errno import EINVAL, ENOENT, ENOTDIR
from operator import attrgetter
from stat import S_ISDIR, S_ISLNK, S_ISREG, S_ISSOCK, S_ISBLK, S_ISCHR, S_ISFIFO