summaryrefslogtreecommitdiffstats
path: root/Lib/pathlib.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-04-24 06:05:00 (GMT)
committerGitHub <noreply@github.com>2017-04-24 06:05:00 (GMT)
commit2e576f5aec1f8f23f07001e2eb3db9276851a4fc (patch)
tree0c42af143f2ab71bce5865aa72056330fcc510db /Lib/pathlib.py
parent9eb5ca0774f94215be48442100c829db2484e146 (diff)
downloadcpython-2e576f5aec1f8f23f07001e2eb3db9276851a4fc.zip
cpython-2e576f5aec1f8f23f07001e2eb3db9276851a4fc.tar.gz
cpython-2e576f5aec1f8f23f07001e2eb3db9276851a4fc.tar.bz2
bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263)
Diffstat (limited to 'Lib/pathlib.py')
-rw-r--r--Lib/pathlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pathlib.py b/Lib/pathlib.py
index 1914229..4368eba 100644
--- a/Lib/pathlib.py
+++ b/Lib/pathlib.py
@@ -6,7 +6,7 @@ import os
import posixpath
import re
import sys
-from collections import Sequence
+from collections.abc import Sequence
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