Skip to content

Commit 5cf8551

Browse files
authored
Update print statement to Python 3 syntax (#440)
1 parent 92c191e commit 5cf8551

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Or with some configuration options:
4040
>>> h = html2text.HTML2Text()
4141
>>> # Ignore converting links from HTML
4242
>>> h.ignore_links = True
43-
>>> print h.handle("<p>Hello, <a href='https://www.google.com/earth/'>world</a>!")
43+
>>> print(h.handle("<p>Hello, <a href='https://www.google.com/earth/'>world</a>!"))
4444
Hello, world!
4545
4646
>>> print(h.handle("<p>Hello, <a href='https://www.google.com/earth/'>world</a>!"))

0 commit comments

Comments
 (0)