Kaydet (Commit) 069a5e10 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Issue #19872: remove unused imports in pathlib. Patch by Vajrasky Kok.

üst f10345e1
...@@ -6,19 +6,12 @@ import os ...@@ -6,19 +6,12 @@ import os
import posixpath import posixpath
import re import re
import sys import sys
import weakref from collections import Sequence
try:
import threading
except ImportError:
import dummy_threading as threading
from collections import Sequence, defaultdict
from contextlib import contextmanager from contextlib import contextmanager
from errno import EINVAL, ENOENT from errno import EINVAL, ENOENT
from itertools import chain, count
from operator import attrgetter from operator import attrgetter
from stat import S_ISDIR, S_ISLNK, S_ISREG, S_ISSOCK, S_ISBLK, S_ISCHR, S_ISFIFO from stat import S_ISDIR, S_ISLNK, S_ISREG, S_ISSOCK, S_ISBLK, S_ISCHR, S_ISFIFO
from urllib.parse import quote as urlquote, quote_from_bytes as urlquote_from_bytes from urllib.parse import quote_from_bytes as urlquote_from_bytes
supports_symlinks = True supports_symlinks = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment