mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Updated data.py(First Pull Request)
Fixed a typo error. The error was corrected by changing "argument" to "argument".
This commit is contained in:
parent
eebb0a5746
commit
67fc6fed9e
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ class Keyword(object):
|
||||||
def arg_to_bool(arg):
|
def arg_to_bool(arg):
|
||||||
if isinstance(arg, bool):
|
if isinstance(arg, bool):
|
||||||
return arg
|
return arg
|
||||||
assert arg in ["True", "False"], "Unexpected value for boolean arguement: " + repr(
|
assert arg in ["True", "False"], "Unexpected value for boolean argument: " + repr(
|
||||||
arg
|
arg
|
||||||
)
|
)
|
||||||
return arg == "True"
|
return arg == "True"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue