#NEWLINE# def _get_scopes( compilation , atom , names_only = True ) : #NEWLINE# #INDENT# walker = sc . ScopeWalker ( walker , atom , names_only = names_only ) #NEWLINE# return list ( iter ( walker ) )