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

Commit4b8a119

Browse files
gsneddersjgraham
authored andcommitted
Refer to EOF by its constant everywhere (#388)
1 parentb4887f0 commit4b8a119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎html5lib/_inputstream.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def charsUntil(self, characters, opposite=False):
367367
defunget(self,char):
368368
# Only one character is allowed to be ungotten at once - it must
369369
# be consumed again before any further call to unget
370-
ifcharisnotNone:
370+
ifcharisnotEOF:
371371
ifself.chunkOffset==0:
372372
# unget is called quite rarely, so it's a good idea to do
373373
# more work here if it saves a bit of work in the frequently

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp