Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc8fca0e

Browse files
committed
Open in binary mode for Python 3
1 parent8554098 commitc8fca0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎html5lib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Example usage::
88
99
import html5lib
10-
with open("my_document.html") as f:
10+
with open("my_document.html", "rb") as f:
1111
tree = html5lib.parse(f)
1212
1313
For convenience, this module re-exports the following names:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp