Skip to content

Commit

Permalink
gh-126662: harmonize naming for three namedtuple base classes in urll…
Browse files Browse the repository at this point in the history
…ib.parse (GH-126663)

harmonize naming for three namedtuple base classes in urllib.parse
  • Loading branch information
tungol authored Nov 24, 2024
1 parent 4ea7127 commit a4d4c1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lib/urllib/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,11 @@ def _hostinfo(self):
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)
Expand Down

0 comments on commit a4d4c1e

Please sign in to comment.