jumpserver/apps/common/utils/integer.py

4 lines
37 B
Python
Raw Normal View History

2022-11-11 07:04:31 +00:00
def bit(x):
return 2 ** (x - 1)