parameters: (mode)
return_statement: return functools.reduce(compose, map(_permission_mask, mode.split(',')))
docstring: Support multiple, comma-separated Unix chmod symbolic modes.
  
      >>> _multi_permission_mask('a=r,u+w')(0) == 0o644
      True
docstring_summary: Support multiple, comma-separated Unix chmod symbolic modes.
docstring_tokens: Support multiple comma - separated Unix chmod symbolic modes .
function: def _multi_permission_mask(mode):
      """
      Support multiple, comma-separated Unix chmod symbolic modes.
  
      >>> _multi_permission_mask('a=r,u+w')(0) == 0o644
      True
      """
      compose = lambda f, g: lambda *args, **kwargs: g(f(*args, **kwargs))
      return functools.reduce(compose, map(_permission_mask, mode.split(',')))
function_tokens: def _multi_permission_mask ( mode ) : compose = lambda f , g : lambda * args , * * kwargs : g ( f ( * args , * * kwargs ) ) return functools . reduce ( compose , map ( _permission_mask , mode . split ( ',' ) ) )