def global_fixes():
 for function in list(globals().values()):
  if inspect.isfunction(function):
   arguments = inspect.getargspec(function)[0]
   if (arguments[:1] != [u'source']):
    continue
   code = extract_code_from_function(function)
   if code:
    (yield (code, function))

def global_fixes ( ) : for function in list ( globals ( ) . values ( ) ) : if inspect . isfunction ( function ) : arguments = inspect . getargspec ( function ) [ 0 ] if ( arguments [ : 1 ] != [ u'source' ] ) : continue code = extract_code_from_function ( function ) if code : ( yield ( code , function ) )
yield multiple tuples .