code: def set_attrs(self, **attrs):
          
          commands = tuple(self.values())
          for name, value in attrs.items():
              for command in commands:
                  setattr(command, name, value)
docs: Set the given attributes on *all* commands in collection.