jumpserver/apps/common/utils/integer.py

4 lines
37 B
Python

def bit(x):
return 2 ** (x - 1)