@@ -7,7 +7,7 @@ Public API
77.. currentmodule :: yarl
88
99
10- The only public *yarl * class is `` URL ` `:
10+ The only public *yarl * class is :class: ` URL `:
1111
1212.. doctest ::
1313
@@ -66,7 +66,7 @@ Already encoded URL is not changed:
6666 >>> URL(' http://xn--jxagkqfkduily1i.eu' )
6767 URL('http://xn--jxagkqfkduily1i.eu')
6868
69- Use :meth: `URL.human_repr ` for getting human readable representation:
69+ Use :meth: `~ URL.human_repr ` for getting human readable representation:
7070
7171.. doctest ::
7272
@@ -101,7 +101,7 @@ There are two kinds of properties: *decoded* and *encoded* (with
101101.. attribute :: URL.scheme
102102
103103 Scheme for absolute URLs, empty string for relative URLs or URLs
104- starting with `'//' ` (:ref: `yarl-api-relative-urls `).
104+ starting with `` '//' ` ` (:ref: `yarl-api-relative-urls `).
105105
106106 .. doctest ::
107107
@@ -431,7 +431,7 @@ Absolute URL should start from either *scheme* or ``'//'``.
431431 A check for absolute URLs.
432432
433433 Return ``True `` for absolute ones (having *scheme * or starting
434- with ``// ``), ``False `` otherwise.
434+ with ``'//' ``), ``False `` otherwise.
435435
436436 .. doctest ::
437437
@@ -449,11 +449,12 @@ New URL generation
449449------------------
450450
451451URL is an immutable object, every operation described in the
452- section generates a new * URL * instance.
452+ section generates a new :class: ` URL ` instance.
453453
454454.. method :: URL.build(*, scheme=..., authority=..., user=..., password=..., \
455- host=..., port=..., path=..., query=.., \
455+ host=..., port=..., path=..., query=... , \
456456 query_string=..., fragment=..., encoded=False)
457+ :classmethod:
457458
458459 Creates and returns a new URL:
459460
@@ -616,7 +617,7 @@ section generates a new *URL* instance.
616617 completely.
617618
618619
619- Returned `` URL ` ` object will contain query string which updated
620+ Returned :class: ` URL ` object will contain query string which updated
620621 parts from passed query parts (or parts of parsed query string).
621622
622623 Accepts any :class: `~collections.abc.Mapping ` (e.g. :class: `dict `,
@@ -791,7 +792,7 @@ All URL data is stored in encoded form internally. It's pretty good
791792for passing ``str(url) `` everywhere URL string is accepted but quite
792793bad for memorizing by humans.
793794
794- .. method :: human_repr()
795+ .. method :: URL. human_repr()
795796
796797 Return decoded human readable string for URL representation.
797798
0 commit comments