Skip to content

Commit 623b8fe

Browse files
committed
push
1 parent 6805798 commit 623b8fe

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

httptools/parser/url_parser.pyi

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,4 @@ class URL:
1111
userinfo: bytes
1212

1313
def parse_url(url: Union[bytes, bytearray, memoryview, array[int]]) -> URL:
14-
"""Parse URL strings into a structured Python object.
15-
16-
Returns an instance of ``httptools.URL`` class with the
17-
following attributes:
18-
19-
- schema(bytes): The schema of the URL.
20-
- host(bytes): The host of the URL.
21-
- port: int
22-
- path(bytes): The path of the URL.
23-
- query(bytes): The query of the URL.
24-
- fragment(bytes): The fragment of the URL.
25-
- userinfo(bytes): The userinfo of the URL.
26-
"""
14+
"""Parse a URL string into a structured Python object."""

0 commit comments

Comments
 (0)