code: def getargsfromtext(text, objname):
      
      signature = getsignaturefromtext(text, objname)
      if signature:
          argtxt = signature[signature.find('(')+1:-1]
          return argtxt.split(',')
docs: Get arguments from text (object documentation)