summaryrefslogtreecommitdiffstats
path: root/Lib/urllib/parse.py
diff options
context:
space:
mode:
authorStephen Morton <git@tungol.org>2024-11-24 02:36:48 (GMT)
committerGitHub <noreply@github.com>2024-11-24 02:36:48 (GMT)
commita4d4c1ede21f9fa72280f4fc0f50212eecfac9ae (patch)
tree4a33ceae3ae1ffe0071d7f9ad7216f44a9c7559a /Lib/urllib/parse.py
parent4ea71278caedb3d12a45f87c757418b8684ba7dd (diff)
downloadcpython-a4d4c1ede21f9fa72280f4fc0f50212eecfac9ae.zip
cpython-a4d4c1ede21f9fa72280f4fc0f50212eecfac9ae.tar.gz
cpython-a4d4c1ede21f9fa72280f4fc0f50212eecfac9ae.tar.bz2
gh-126662: harmonize naming for three namedtuple base classes in urllib.parse (GH-126663)
harmonize naming for three namedtuple base classes in urllib.parse
Diffstat (limited to 'Lib/urllib/parse.py')
-rw-r--r--Lib/urllib/parse.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/urllib/parse.py b/Lib/urllib/parse.py
index 8d7631d..c412c72 100644
--- a/Lib/urllib/parse.py
+++ b/Lib/urllib/parse.py
@@ -247,11 +247,11 @@ class _NetlocResultMixinBytes(_NetlocResultMixinBase, _ResultMixinBytes):
return hostname, port
-_DefragResultBase = namedtuple('DefragResult', 'url fragment')
+_DefragResultBase = namedtuple('_DefragResultBase', 'url fragment')
_SplitResultBase = namedtuple(
- 'SplitResult', 'scheme netloc path query fragment')
+ '_SplitResultBase', 'scheme netloc path query fragment')
_ParseResultBase = namedtuple(
- 'ParseResult', 'scheme netloc path params query fragment')
+ '_ParseResultBase', 'scheme netloc path params query fragment')
_DefragResultBase.__doc__ = """
DefragResult(url, fragment)