-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Description
python -c 'from hyperlink import URL; URL.from_text(u"http://example.com").child()'
produces
Traceback (most recent call last):
File "<module>", line 1, in <module>
File "/Users/Julian/.local/share/virtualenvs/dev/site-packages/hyperlink/_url.py", line 1099, in child
else None] + new_segs
TypeError: unsupported operand type(s) for +: 'tuple' and 'list'
probably would be nice for that to just return the original URL. If it's intentionally an error though, one that says that the argument is required would be nice.
Metadata
Metadata
Assignees
Labels
No labels