Index: lib/dom/scripts/idlrenderer.py |
diff --git a/lib/dom/scripts/idlrenderer.py b/lib/dom/scripts/idlrenderer.py |
index 131a476b1303464ebe937668c1b967cb9354b3ca..95ce067290cf111ec162218a5c1e714c31387593 100755 |
--- a/lib/dom/scripts/idlrenderer.py |
+++ b/lib/dom/scripts/idlrenderer.py |
@@ -169,8 +169,6 @@ def render(idl_node, indent_str=' '): |
elif isinstance(node, IDLArgument): |
wsp(node.ext_attrs) |
w('in ') |
- if node.is_optional: |
- w('optional ') |
w('%s %s' % (node.type.id, node.id)) |
else: |
raise TypeError("Expected str or IDLNode but %s found" % |