original_docstring: Returns access rules deleted between two rule sets.
docstring: Returns access rules deleted between two rule sets.
docstring_tokens: Returns access rules deleted between two rule sets .
code: def _handle_deleted_rules(self, share_name, existing_rules, new_rules):
          """Returns access rules deleted between two rule sets."""
          deleted_rules = {
              user_or_group: permission
              for user_or_group, permission in existing_rules.items()
              if user_or_group not in new_rules
          }
  
          for user_or_group, permission in deleted_rules.items():
              self._client.remove_cifs_share_access(share_name, user_or_group)
code_tokens: def _handle_deleted_rules ( self , share_name , existing_rules , new_rules ) : deleted_rules = { user_or_group : permission for user_or_group , permission in existing_rules . items ( ) if user_or_group not in new_rules } for user_or_group , permission in deleted_rules . items ( ) : self . _client . remove_cifs_share_access ( share_name , user_or_group )
short_docstring: Returns access rules deleted between two rule sets.
short_docstring_tokens: Returns access rules deleted between two rule sets .
comment: """Returns access rules deleted between two rule sets."""