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

Commit4fa9fda

Browse files
committed
Ensure that no implicit unicode-> ascii conversion is attempted in lxml treebuilder
1 parente834288 commit4fa9fda

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/html5lib/treewalkers/lxmletree.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ def getparent(self):
9696
def__str__(self):
9797
returnstr(self.obj)
9898

99+
def__unicode__(self):
100+
returnunicode(self.obj)
101+
99102
def__len__(self):
100103
returnlen(self.obj)
101104

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp