We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 224d9f4 commit 3fb6af3Copy full SHA for 3fb6af3
1 file changed
html5lib/__init__.py
@@ -7,8 +7,8 @@
7
Example usage::
8
9
import html5lib
10
- f = open("my_document.html")
11
- tree = html5lib.parse(f)
+ with open("my_document.html") as f:
+ tree = html5lib.parse(f)
12
"""
13
14
from __future__ import absolute_import, division, unicode_literals
0 commit comments