code: def set_prefix(self, prefix):
          
          warnings.warn("set_prefix() is deprecated; use the prefix property",
                        DeprecationWarning, stacklevel=2)
          self.prefix = prefix
docs: Set the prefix for the node (see Leaf class).
  
          DEPRECATED; use the prefix property directly.