def get_string_scope(project, code, resource=None):
 return get_string_module(project, code, resource).get_scope()

def get_string_scope ( project , code , resource = None ) : return get_string_module ( project , code , resource ) . get_scope ( )
returns a scope object for the given code .