Skip to content

Commit c7446e4

Browse files
authored
Update example for URL.can_parse (#12)
1 parent ab13389 commit c7446e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ada_url/ada_adapter.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ class URL:
6565
6666
.. code-block:: python
6767
68-
>>> url = 'https://example.org:443/file_1.txt'
69-
>>> base = 'file_2.txt'
68+
>>> url = 'file_2.txt'
69+
>>> base = 'https://example.org:443/file_1.txt'
7070
>>> URL.can_parse(url, base)
7171
True
7272

0 commit comments

Comments
 (0)