Skip to content

Commit 2bae6f6

Browse files
committed
use versionadded
1 parent 182f834 commit 2bae6f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/hyperlink/_url.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,7 +1787,7 @@ class DecodedURL(object):
17871787
... host=u'pypi.org', path=(u'projects', u'hyperlink')).to_text())
17881788
https://pypi.org/projects/hyperlink
17891789
1790-
*(New in 18.0.0)*
1790+
.. versionadded:: 18.0.0
17911791
"""
17921792
def __init__(self, url=_EMPTY_URL, lazy=False):
17931793
# type: (URL, bool) -> None
@@ -2137,7 +2137,7 @@ def parse(url, decoded=True, lazy=False):
21372137
default, `lazy=False`, checks all encoded parts of the URL
21382138
for decodability.
21392139
2140-
*(New in 18.0.0)*
2140+
.. versionadded:: 18.0.0
21412141
"""
21422142
enc_url = EncodedURL.from_text(url)
21432143
if not decoded:

0 commit comments

Comments
 (0)