def postOptions(self):
        if 'port' not in self:
            self['port'] = 8080
        if 'element' not in self:
            raise UsageError("Specify a class name to --element")
Assign default values for those arguments not specified.
dataset/ETHPy150Open twisted/nevow/nevow/_widget_plugin.py/Options.postOptions