D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
saltstack
/
salt
/
lib
/
python3.10
/
site-packages
/
salt
/
utils
/
Filename :
value.py
back
Copy
""" Utility functions used for values. .. versionadded:: 2018.3.0 """ def xor(*variables): """ XOR definition for multiple variables """ sum_ = False for value in variables: sum_ = sum_ ^ bool(value) return sum_