summaryrefslogtreecommitdiffstats
path: root/Lib/pathlib/_local.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pathlib/_local.py')
-rw-r--r--Lib/pathlib/_local.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pathlib/_local.py b/Lib/pathlib/_local.py
index e708191..b1e678a 100644
--- a/Lib/pathlib/_local.py
+++ b/Lib/pathlib/_local.py
@@ -5,6 +5,7 @@ import os
import posixpath
import sys
import warnings
+from glob import _StringGlobber
from itertools import chain
from _collections_abc import Sequence
@@ -18,7 +19,6 @@ except ImportError:
grp = None
from ._abc import UnsupportedOperation, PurePathBase, PathBase
-from ._glob import StringGlobber
__all__ = [
@@ -102,7 +102,7 @@ class PurePath(PurePathBase):
'_hash',
)
parser = os.path
- _globber = StringGlobber
+ _globber = _StringGlobber
def __new__(cls, *args, **kwargs):
"""Construct a PurePath from one or several strings and or existing