Rewrite type comments again

This commit is contained in:
Florian Bruhin 2018-07-16 22:35:40 +02:00
parent 03ac3b4d7d
commit b8c70e5986
2 changed files with 7 additions and 7 deletions

View File

@ -312,9 +312,9 @@ class _Downloader:
for style in styles: for style in styles:
style = webkitelem.WebKitElement(style, tab=self.tab) style = webkitelem.WebKitElement(style, tab=self.tab)
# The Mozilla Developer Network says: # The Mozilla Developer Network says:
# type - This attribute defines the styling language as a MIME type # > type: This attribute defines the styling language as a MIME
# (charset should not be specified). This attribute is optional and # > type (charset should not be specified). This attribute is
# default to text/css if it's missing. # > optional and default to text/css if it's missing.
# https://developer.mozilla.org/en/docs/Web/HTML/Element/style # https://developer.mozilla.org/en/docs/Web/HTML/Element/style
if 'type' in style and style['type'] != 'text/css': if 'type' in style and style['type'] != 'text/css':
continue continue

View File

@ -74,10 +74,10 @@ class SqliteError(SqlError):
'13', # SQLITE_FULL '13', # SQLITE_FULL
] ]
# At least in init(), we can get errors like this: # At least in init(), we can get errors like this:
# type - ConnectionError # > type: ConnectionError
# database text: out of memory # > database text: out of memory
# driver text: Error opening database # > driver text: Error opening database
# error code: -1 # > error code: -1
environmental_strings = [ environmental_strings = [
"out of memory", "out of memory",
] ]