UserSpace.copy#

UserSpace.copy(parent, name=None, defined_only=False)[source]#

Make a copy of itself

Create a new UserSpace in parent by copying itself. If name is given, the copied UserSpace is named name in stead of the original name.

Parameters:
  • parent (UserSpace) – parent of the copied UserSpace

  • name (str, optional) – name of the copied UserSpace

  • defined_only (bool, optional) – If True, only defined Spaces are copied. Defaults to False.