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

Commite9ef538

Browse files
luzpazgsnedders
authored andcommitted
Misc. source comment typos (#391)
Found via `codespell -q 3`
1 parent5e6b61b commite9ef538

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

‎html5lib/_inputstream.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def determineEncoding(self, chardet=True):
461461
ifcharEncoding[0]isnotNone:
462462
returncharEncoding
463463

464-
# If we've beenoverriden, we've beenoverriden
464+
# If we've beenoverridden, we've beenoverridden
465465
charEncoding=lookupEncoding(self.override_encoding),"certain"
466466
ifcharEncoding[0]isnotNone:
467467
returncharEncoding

‎html5lib/serializer.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def serialize(self, treewalker, encoding=None):
274274
iftoken["systemId"]:
275275
iftoken["systemId"].find('"')>=0:
276276
iftoken["systemId"].find("'")>=0:
277-
self.serializeError("Systemidentifer contains both single and double quote characters")
277+
self.serializeError("Systemidentifier contains both single and double quote characters")
278278
quote_char="'"
279279
else:
280280
quote_char='"'

‎html5lib/tests/serializer-testdata/core.test‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@
375375
"-//W3C//DTD HTML 4.01//EN"
376376
]
377377
],
378-
"description": "HTML 4.01 DOCTYPE without systemidentifer"
378+
"description": "HTML 4.01 DOCTYPE without systemidentifier"
379379
},
380380
{
381381
"expected": [
@@ -389,7 +389,7 @@
389389
"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"
390390
]
391391
],
392-
"description": "IBM DOCTYPE without publicidentifer"
392+
"description": "IBM DOCTYPE without publicidentifier"
393393
}
394394
]
395395
}

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def default_environment():
4646

4747
_markerlib.default_environment=default_environment
4848

49-
# Avoid the very buggy pkg_resources.parser, whichdoesnt consistently
49+
# Avoid the very buggy pkg_resources.parser, whichdoesn't consistently
5050
# recognise the markers needed by this setup.py
5151
# Change this to setuptools 20.10.0 to support all markers.
5252
ifpkg_resources:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp