ArgumentVariable.source_code()

Returns the source code of the argument variable.

source_code() → str

Query Example

from glider import *

def query():

  functions = (
    Functions()
    .exec(1, 50)
    )

  for func in functions:
    args = func.arguments()
    print(args.list()[0].get_variable().source_code())
  return functions

Output Example

Last updated