Revision f27302fa lib/opcodes.py

b/lib/opcodes.py
256 256
  __slots__ = ["kind", "name"]
257 257

  
258 258

  
259
class OpSetTag(OpCode):
260
  """Sets the value of a tag on a given object."""
259
class OpAddTags(OpCode):
260
  """Add a list of tags on a given object."""
261 261
  OP_ID = "OP_TAGS_SET"
262
  __slots__ = ["kind", "name", "tag"]
262
  __slots__ = ["kind", "name", "tags"]
263 263

  
264 264

  
265
class OpDelTag(OpCode):
266
  """Remove a tag from a given object."""
265
class OpDelTags(OpCode):
266
  """Remove a list of tags from a given object."""
267 267
  OP_ID = "OP_TAGS_DEL"
268
  __slots__ = ["kind", "name", "tag"]
268
  __slots__ = ["kind", "name", "tags"]

Also available in: Unified diff