parameters: (self, vm, name)
docstring: Return the named VirtualMachineSnapshot managed object for
          a virtual machine
docstring_summary: Return the named VirtualMachineSnapshot managed object for
          a virtual machine
docstring_tokens: Return the named VirtualMachineSnapshot managed object for a virtual machine
function: def _get_snapshot_by_name(self, vm, name):
          """Return the named VirtualMachineSnapshot managed object for
          a virtual machine"""
          for ss in self._traverseSnapshots(vm.snapshot.rootSnapshotList):
              if ss.name == name:
                  return ss.snapshot
function_tokens: def _get_snapshot_by_name ( self , vm , name ) : for ss in self . _traverseSnapshots ( vm . snapshot . rootSnapshotList ) : if ss . name == name : return ss . snapshot