def insertIndent():
            if self.useTabs:
                cursor.insertText('\t')
            else:  # indent to integer count of indents from line start
                charsToInsert = self.width - (len(self._qpart.textBeforeCursor()) % self.width)
                cursor.insertText(' ' * charsToInsert)
def myfunc(first, second=None, third=Optional(5), fourth=Optional(execute=list)):
            #Equivalent: second = deoption(second, 5)
            if isinstance(second, type(None)):
                second = 5