@@ -125,7 +125,7 @@ or on combining URL components into a URL string.
125125
126126 If the *allow_fragments * argument is false, fragment identifiers are not
127127 recognized. Instead, they are parsed as part of the path
128- or query component, and :attr: `fragment < SplitResult.fragment> ` is set to
128+ or query component, and :attr: `~ SplitResult.fragment ` is set to
129129 ``None `` or the empty
130130 string (depending on the value of *missing_as_none *) in the return value.
131131
@@ -158,16 +158,16 @@ or on combining URL components into a URL string.
158158
159159 .. [1 ] Depending on the value of the *missing_as_none * argument.
160160
161- Reading the :attr: `port < SplitResult.port> ` attribute will raise a
161+ Reading the :attr: `~ SplitResult.port ` attribute will raise a
162162 :exc: `ValueError ` if
163163 an invalid port is specified in the URL. See section
164164 :ref: `urlparse-result-object ` for more information on the result object.
165165
166- Unmatched square brackets in the :attr: `netloc < SplitResult.netloc> `
166+ Unmatched square brackets in the :attr: `~ SplitResult.netloc `
167167 attribute will raise a
168168 :exc: `ValueError `.
169169
170- Characters in the :attr: `netloc < SplitResult.netloc> ` attribute that
170+ Characters in the :attr: `~ SplitResult.netloc ` attribute that
171171 decompose under NFKC
172172 normalization (as used by the IDNA encoding) into any of ``/ ``, ``? ``,
173173 ``# ``, ``@ ``, or ``: `` will raise a :exc: `ValueError `. If the URL is
@@ -512,15 +512,15 @@ byte values will trigger :exc:`UnicodeDecodeError`.
512512
513513To support easier conversion of result objects between :class: `str ` and
514514:class: `bytes `, all return values from URL parsing functions provide
515- either an :meth: `encode < DefragResult.encode> ` method (when the result contains
516- :class: `str ` data) or a :meth: `decode < DefragResultBytes.decode> ` method (when
515+ either an :meth: `~ DefragResult.encode ` method (when the result contains
516+ :class: `str ` data) or a :meth: `~ DefragResultBytes.decode ` method (when
517517the result contains :class: `bytes `
518518data). The signatures of these methods match those of the corresponding
519519:class: `str ` and :class: `bytes ` methods (except that the default encoding
520520is ``'ascii' `` rather than ``'utf-8' ``). Each produces a value of a
521521corresponding type that contains either :class: `bytes ` data (for
522- :meth: `encode < DefragResult.encode> ` methods) or :class: `str ` data (for
523- :meth: `decode < DefragResultBytes.decode> ` methods).
522+ :meth: `~ DefragResult.encode ` methods) or :class: `str ` data (for
523+ :meth: `~ DefragResultBytes.decode ` methods).
524524
525525Applications that need to operate on potentially improperly quoted URLs
526526that may contain non-ASCII data will need to do their own decoding from
@@ -546,17 +546,17 @@ These subclasses add the attributes listed in the documentation for
546546those functions, the encoding and decoding support described in the
547547previous section, as well as additional methods:
548548
549- .. |split-scheme | replace :: :attr: `scheme < SplitResult.scheme> `
550- .. |split-netloc | replace :: :attr: `netloc < SplitResult.netloc> `
551- .. |split-path | replace :: :attr: `path < SplitResult.path> `
552- .. |split-query | replace :: :attr: `query < SplitResult.query> `
553- .. |split-frag | replace :: :attr: `fragment < SplitResult.fragment> `
554- .. |split-username | replace :: :attr: `username < SplitResult.username> `
555- .. |split-password | replace :: :attr: `password < SplitResult.password> `
556- .. |split-hostname | replace :: :attr: `hostname < SplitResult.hostname> `
557- .. |split-port | replace :: :attr: `port < SplitResult.port> `
558- .. |defrag-url | replace :: :attr: `url < DefragResult.url> `
559- .. |defrag-frag | replace :: :attr: `fragment < DefragResult.fragment> `
549+ .. |split-scheme | replace :: :attr: `~ SplitResult.scheme `
550+ .. |split-netloc | replace :: :attr: `~ SplitResult.netloc `
551+ .. |split-path | replace :: :attr: `~ SplitResult.path `
552+ .. |split-query | replace :: :attr: `~ SplitResult.query `
553+ .. |split-frag | replace :: :attr: `~ SplitResult.fragment `
554+ .. |split-username | replace :: :attr: `~ SplitResult.username `
555+ .. |split-password | replace :: :attr: `~ SplitResult.password `
556+ .. |split-hostname | replace :: :attr: `~ SplitResult.hostname `
557+ .. |split-port | replace :: :attr: `~ SplitResult.port `
558+ .. |defrag-url | replace :: :attr: `~ DefragResult.url `
559+ .. |defrag-frag | replace :: :attr: `~ DefragResult.fragment `
560560
561561.. method :: SplitResult._replace(**kwargs)
562562
0 commit comments