Skip to content

Commit 15ae55b

Browse files
committed
Python 2 compat
1 parent 534cc5f commit 15ae55b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Then, URLs are just an import away::
4444
better_url = url.replace(scheme='https', port=443)
4545
org_url = better_url.click('.')
4646

47-
print(str(org_url))
47+
print(org_url.to_text())
4848
# prints: https://github.com/python-hyper/
4949

5050
print(better_url.get('utm_source'))

0 commit comments

Comments
 (0)